diff --git a/build/docs/Gallery.html b/build/docs/Gallery.html index f800120f..ff5bf876 100644 --- a/build/docs/Gallery.html +++ b/build/docs/Gallery.html @@ -50281,7 +50281,7 @@
In [30]:
-
ggplot(diamonds, aes(x='price')) + geom_hline(y=10)
+
ggplot(diamonds, aes(x='price')) + geom_hline(yintercept=10)
 
@@ -50491,7 +50491,7 @@
In [31]:
-
ggplot(diamonds, aes(x='price')) + geom_vline(x=10)
+
ggplot(diamonds, aes(x='price')) + geom_vline(xintercept=10)
 
diff --git a/build/docs/examples/Plotting a Horizontal Line.html b/build/docs/examples/Plotting a Horizontal Line.html index 683a9460..61fd719a 100644 --- a/build/docs/examples/Plotting a Horizontal Line.html +++ b/build/docs/examples/Plotting a Horizontal Line.html @@ -12310,7 +12310,7 @@
ggplot(mpg, aes(x='cty', y='hwy', shape='trans')) + \
     geom_point() + \
-    geom_hline(y=25)
+    geom_hline(yintercept=25)
 
diff --git a/build/docs/examples/Plotting a Vertical Line.html b/build/docs/examples/Plotting a Vertical Line.html index 34946309..e9deee8f 100644 --- a/build/docs/examples/Plotting a Vertical Line.html +++ b/build/docs/examples/Plotting a Vertical Line.html @@ -12310,7 +12310,7 @@
ggplot(mpg, aes(x='cty', y='hwy', shape='trans')) + \
     geom_point() + \
-    geom_vline(x=25)
+    geom_vline(xintercept=25)
 
diff --git a/build/docs/geoms/geom_hline.html b/build/docs/geoms/geom_hline.html index b9f7a160..33160924 100644 --- a/build/docs/geoms/geom_hline.html +++ b/build/docs/geoms/geom_hline.html @@ -12308,7 +12308,7 @@
In [4]:
-
ggplot(mtcars, aes(x='wt', y='mpg')) + geom_point() + geom_hline(y=25)
+
ggplot(mtcars, aes(xintercept='wt', yintercept='mpg')) + geom_point() + geom_hline(yintercept=25)
 
@@ -12545,9 +12545,9 @@
In [5]:
-
ggplot(mtcars, aes(x='wt', y='mpg')) + \
+
ggplot(mtcars, aes(xintercept='wt', yintercept='mpg')) + \
     geom_point() + \
-    geom_hline(y=[10, 35])
+    geom_hline(yintercept=[10, 35])
 
@@ -12784,9 +12784,9 @@
In [9]:
-
ggplot(mtcars, aes(x='wt', y='mpg')) + \
+
ggplot(mtcars, aes(xintercept='wt', yintercept='mpg')) + \
     geom_point() + \
-    geom_hline(y=[10, 35], color='BurlyWood')
+    geom_hline(yintercept=[10, 35], color='BurlyWood')
 
@@ -13024,9 +13024,9 @@
In [12]:
-
ggplot(mtcars, aes(x='wt', y='mpg')) + \
+
ggplot(mtcars, aes(xintercept='wt', yintercept='mpg')) + \
     geom_point() + \
-    geom_hline(y=range(10, 40, 5), color='seagreen')
+    geom_hline(yintercept=range(10, 40, 5), color='seagreen')
 
@@ -13261,9 +13261,9 @@
In [15]:
-
ggplot(diamonds, aes(x='price')) + \
+
ggplot(diamonds, aes(xintercept='price')) + \
     geom_histogram() + \
-    geom_hline(y=10000, color='salmon') + \
+    geom_hline(yintercept=10000, color='salmon') + \
     facet_wrap('cut')
 
@@ -13792,10 +13792,10 @@
In [20]:
-
ggplot(diamonds, aes(x='carat', y='price')) + \
+
ggplot(diamonds, aes(xintercept='carat', yintercept='price')) + \
     geom_point(alpha=1/100.) + \
-    geom_hline(y=15000, color='Orchid') + \
-    geom_vline(x=2, color='Orchid')
+    geom_hline(yintercept=15000, color='Orchid') + \
+    geom_vline(xintercept=2, color='Orchid')
 
diff --git a/build/docs/geoms/geom_vline.html b/build/docs/geoms/geom_vline.html index ad0600f2..cb659ac9 100644 --- a/build/docs/geoms/geom_vline.html +++ b/build/docs/geoms/geom_vline.html @@ -12308,9 +12308,9 @@
In [2]:
-
ggplot(mtcars, aes(x='wt', y='mpg')) + \
+
ggplot(mtcars, aes(xintercept='wt', yintercept='mpg')) + \
     geom_point() + \
-    geom_vline(x=4.5)
+    geom_vline(xintercept=4.5)
 
@@ -12551,9 +12551,9 @@
In [6]:
-
ggplot(mtcars, aes(x='wt', y='mpg')) + \
+
ggplot(mtcars, aes(xintercept='wt', yintercept='mpg')) + \
     geom_point() + \
-    geom_vline(x=[2, 3, 4, 5])
+    geom_vline(xintercept=[2, 3, 4, 5])
 
@@ -12789,9 +12789,9 @@
In [11]:
-
ggplot(mtcars, aes(x='wt', y='mpg', color='factor(cyl)')) + \
+
ggplot(mtcars, aes(xintercept='wt', yintercept='mpg', color='factor(cyl)')) + \
     geom_point() + \
-    geom_vline(color='black', x=range(6))
+    geom_vline(color='black', xintercept=range(6))
 
@@ -13066,9 +13066,9 @@
In [20]:
-
ggplot(diamonds, aes(x='carat', y='price')) + \
+
ggplot(diamonds, aes(xintercept='carat', yintercept='price')) + \
     geom_point() + \
-    geom_vline(color='turquoise', x=range(7)) + \
+    geom_vline(color='turquoise', xintercept=range(7)) + \
     facet_wrap("clarity")
 
diff --git a/build/docs/how-to/Annotating Plots - Titles and Labels.html b/build/docs/how-to/Annotating Plots - Titles and Labels.html index 8f473740..3361daf6 100644 --- a/build/docs/how-to/Annotating Plots - Titles and Labels.html +++ b/build/docs/how-to/Annotating Plots - Titles and Labels.html @@ -24992,7 +24992,7 @@

Custom Axis Values
ggplot(diamonds, aes(x='carat', y='price')) + \
     geom_point() + \
-    geom_hline(y=2500, color='red') + \
+    geom_hline(yintercept=2500, color='red') + \
     xlim(0, 4) + \
     ylim(0, 20000) + \
     scale_x_continuous("Carat (200mg)", breaks=[0, 2, 4], labels=["Small", "Medium", "Large"]) + \