lets-plot 4.4.0__cp310-cp310-win_amd64.whl → 4.4.1__cp310-cp310-win_amd64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of lets-plot might be problematic. Click here for more details.

@@ -171,7 +171,7 @@ class layer_labels(FeatureSpec):
171
171
  A '^' symbol can be escaped with a backslash, a brace character
172
172
  in the literal text - by doubling:
173
173
 
174
- - 'x\^2' -> "x^2"
174
+ - 'x\\\\^2' -> "x^2"
175
175
  - '{{x}}' -> "{x}"
176
176
 
177
177
  Examples
lets_plot/plot/geom.py CHANGED
@@ -112,8 +112,8 @@ def geom_point(mapping=None, *, data=None, stat=None, position=None, show_legend
112
112
  - x : x-axis value.
113
113
  - y : y-axis value.
114
114
  - alpha : transparency level of the point. Accept values between 0 and 1.
115
- - color (colour) : color of the geometry. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
116
- - fill : fill color. Is applied only to the points of shapes having inner area. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
115
+ - color (colour) : color of the geometry. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
116
+ - fill : fill color. Is applied only to the points of shapes having inner area. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
117
117
  - shape : shape of the point, an integer from 0 to 25. For more info see https://lets-plot.org/python/pages/aesthetics.html#point-shapes.
118
118
  - angle : rotation angle of the point shape, in degrees.
119
119
  - size : size of the point.
@@ -292,7 +292,7 @@ def geom_path(mapping=None, *, data=None, stat=None, position=None, show_legend=
292
292
  - x : x-axis value.
293
293
  - y : y-axis value.
294
294
  - alpha : transparency level of a layer. Accept values between 0 and 1.
295
- - color (colour) : color of the geometry. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
295
+ - color (colour) : color of the geometry. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
296
296
  - linetype : type of the line. Codes and names: 0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
297
297
  - size : line width.
298
298
 
@@ -459,7 +459,7 @@ def geom_line(mapping=None, *, data=None, stat=None, position=None, show_legend=
459
459
  - x : x-axis value.
460
460
  - y : y-axis value.
461
461
  - alpha : transparency level of a layer. Accept values between 0 and 1.
462
- - color (colour) : color of the geometry. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
462
+ - color (colour) : color of the geometry. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
463
463
  - linetype : type of the line. Codes and names: 0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
464
464
  - size : line width.
465
465
 
@@ -611,8 +611,8 @@ def geom_smooth(mapping=None, *, data=None, stat=None, position=None, show_legen
611
611
  - x : x-axis value.
612
612
  - y : y-axis value.
613
613
  - alpha : transparency level of a layer. Accept values between 0 and 1.
614
- - color (colour) : color of the geometry. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
615
- - fill : fill color for the confidence interval around the line. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
614
+ - color (colour) : color of the geometry. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
615
+ - fill : fill color for the confidence interval around the line. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
616
616
  - linetype : type of the line of conditional mean line. Codes and names: 0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
617
617
  - size : line width. Define line width for conditional mean and confidence bounds lines.
618
618
 
@@ -776,8 +776,8 @@ def geom_bar(mapping=None, *, data=None, stat=None, position=None, show_legend=N
776
776
  - x : x-axis value (this value will produce cases or bins for bars).
777
777
  - y : y-axis value (this value will be used to multiply the case's or bin's counts).
778
778
  - alpha : transparency level of a layer. Accept values between 0 and 1.
779
- - color (colour) : color of the geometry lines. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
780
- - fill : fill color. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
779
+ - color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
780
+ - fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
781
781
  - size : line width. Define bar line width.
782
782
  - weight : used by 'count' stat to compute weighted sum instead of simple count.
783
783
 
@@ -934,6 +934,9 @@ def geom_histogram(mapping=None, *, data=None, stat=None, position=None, show_le
934
934
  Computed variables:
935
935
 
936
936
  - ..count.. : number of points with x-axis coordinate in the same bin.
937
+ - ..density.. : normalised number of points so that plot area is 1.
938
+ - ..sumprop.. : normalised number of points so that sum of y-values is 1.
939
+ - ..sumpct.. : normalised number of points so that sum of y-values is 100.
937
940
  - ..binwidth.. : width of each bin.
938
941
 
939
942
  `geom_histogram()` understands the following aesthetics mappings:
@@ -941,8 +944,8 @@ def geom_histogram(mapping=None, *, data=None, stat=None, position=None, show_le
941
944
  - x : x-axis value (this value will produce cases or bins for bars).
942
945
  - y : y-axis value, default: '..count..'. Alternatively: '..density..'.
943
946
  - alpha : transparency level of a layer. Accept values between 0 and 1.
944
- - color (colour) : color of the geometry lines. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
945
- - fill : fill color. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
947
+ - color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
948
+ - fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
946
949
  - size : line width.
947
950
  - weight : used by 'bin' stat to compute weighted sum instead of simple count.
948
951
 
@@ -1098,8 +1101,8 @@ def geom_dotplot(mapping=None, *, data=None, show_legend=None, manual_key=None,
1098
1101
 
1099
1102
  - x : x-axis value.
1100
1103
  - alpha : transparency level of a layer. Accept values between 0 and 1.
1101
- - color (colour) : color of the geometry lines. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
1102
- - fill : fill color. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
1104
+ - color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
1105
+ - fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
1103
1106
  - stroke : width of the dot border.
1104
1107
 
1105
1108
  Examples
@@ -1247,8 +1250,8 @@ def geom_bin2d(mapping=None, *, data=None, stat=None, position=None, show_legend
1247
1250
  - x : x-axis value.
1248
1251
  - y : y-axis value.
1249
1252
  - alpha : transparency level of a layer. Accept values between 0 and 1.
1250
- - color (colour) : color of the geometry lines. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
1251
- - fill : fill color. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
1253
+ - color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
1254
+ - fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
1252
1255
  - size : line width, default=0 (i.e. tiles outline initially is not visible).
1253
1256
  - weight : used by 'bin' stat to compute weighted sum instead of simple count.
1254
1257
 
@@ -1397,8 +1400,8 @@ def geom_tile(mapping=None, *, data=None, stat=None, position=None, show_legend=
1397
1400
  - x : x-axis coordinates of the center of rectangles.
1398
1401
  - y : y-axis coordinates of the center of rectangles.
1399
1402
  - alpha : transparency level of a layer. Accept values between 0 and 1.
1400
- - color (colour) : color of the geometry lines. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
1401
- - fill : fill color. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
1403
+ - color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
1404
+ - fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
1402
1405
  - size : line width, default=0 (i.e. tiles outline initially is not visible).
1403
1406
  - width : width of a tile. Typically range between 0 and 1. Values that are greater than 1 lead to overlapping of the tiles.
1404
1407
  - height : height of a tile. Typically range between 0 and 1. Values that are greater than 1 lead to overlapping of the tiles.
@@ -1535,7 +1538,7 @@ def geom_raster(mapping=None, *, data=None, stat=None, position=None, show_legen
1535
1538
  - x : x-axis coordinates of the center of rectangles.
1536
1539
  - y : y-axis coordinates of the center of rectangles.
1537
1540
  - alpha : transparency level of a layer. Accept values between 0 and 1.
1538
- - fill : fill color. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
1541
+ - fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
1539
1542
 
1540
1543
  Examples
1541
1544
  --------
@@ -1637,7 +1640,7 @@ def geom_errorbar(mapping=None, *, data=None, stat=None, position=None, show_leg
1637
1640
  - ymin or xmin: lower bound for vertical or horizontal error bar, respectively.
1638
1641
  - ymax or xmax: upper bound for vertical or horizontal error bar, respectively.
1639
1642
  - alpha : transparency level of a layer. Accept values between 0 and 1.
1640
- - color (colour) : color of the geometry lines. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
1643
+ - color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
1641
1644
  - size : line width. Define bar line width.
1642
1645
  - width or height : size of the whiskers of vertical or horizontal bar, respectively. Typically range between 0 and 1. Values that are greater than 1 lead to overlapping of the bars.
1643
1646
  - linetype : type of the line. Codes and names: 0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
@@ -1781,8 +1784,8 @@ def geom_crossbar(mapping=None, *, data=None, stat=None, position=None, show_leg
1781
1784
  - ymin or xmin: lower bound for vertical or horizontal bar, respectively.
1782
1785
  - ymax or xmax: upper bound for vertical or horizontal bar, respectively.
1783
1786
  - alpha : transparency level of a layer. Accept values between 0 and 1.
1784
- - color (colour) : color of the geometry lines. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
1785
- - fill : fill color. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
1787
+ - color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
1788
+ - fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
1786
1789
  - size : lines width.
1787
1790
  - width : width of a bar. Typically range between 0 and 1. Values that are greater than 1 lead to overlapping of the bars.
1788
1791
  - linetype : type of the line. Codes and names: 0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
@@ -1917,8 +1920,8 @@ def geom_pointrange(mapping=None, *, data=None, stat=None, position=None, show_l
1917
1920
  - ymin or xmin: lower bound for vertical or horizontal interval, respectively.
1918
1921
  - ymax or xmax: upper bound for vertical or horizontal interval, respectively.
1919
1922
  - alpha : transparency level of a layer. Accept values between 0 and 1.
1920
- - color (colour) : color of the geometry lines. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
1921
- - fill : fill color. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
1923
+ - color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
1924
+ - fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
1922
1925
  - size : size of mid-point.
1923
1926
  - linetype : type of the line. Codes and names: 0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
1924
1927
  - shape : shape of the mid-point, an integer from 0 to 25. For more info see https://lets-plot.org/python/pages/aesthetics.html#point-shapes.
@@ -2042,7 +2045,7 @@ def geom_linerange(mapping=None, *, data=None, stat=None, position=None, show_le
2042
2045
  - ymin or xmin: lower bound for vertical or horizontal line range, respectively.
2043
2046
  - ymax or xmax: upper bound for vertical or horizontal line range, respectively.
2044
2047
  - alpha : transparency level of a layer. Accept values between 0 and 1.
2045
- - color (colour) : color of the geometry lines. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
2048
+ - color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
2046
2049
  - size : line width.
2047
2050
  - linetype : type of the line. Codes and names: 0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
2048
2051
 
@@ -2166,7 +2169,7 @@ def geom_contour(mapping=None, *, data=None, stat=None, position=None, show_lege
2166
2169
  - y : y-axis coordinates of the center of rectangles, forming a tessellation.
2167
2170
  - z : value at point (x, y).
2168
2171
  - alpha : transparency level of a layer. Accept values between 0 and 1.
2169
- - color (colour) : color of the geometry lines. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
2172
+ - color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
2170
2173
  - size : lines width.
2171
2174
  - linetype : type of the line. Codes and names: 0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
2172
2175
 
@@ -2312,7 +2315,7 @@ def geom_contourf(mapping=None, *, data=None, stat=None, position=None, show_leg
2312
2315
  - y : y-axis coordinates of the center of rectangles, forming a tessellation.
2313
2316
  - z : value at point (x, y).
2314
2317
  - alpha : transparency level of a layer. Accept values between 0 and 1.
2315
- - fill : fill color. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
2318
+ - fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
2316
2319
 
2317
2320
  Examples
2318
2321
  --------
@@ -2460,8 +2463,8 @@ def geom_polygon(mapping=None, *, data=None, stat=None, position=None, show_lege
2460
2463
  - x : x-axis coordinates of the vertices of the polygon.
2461
2464
  - y : y-axis coordinates of the vertices of the polygon.
2462
2465
  - alpha : transparency level of a layer. Accept values between 0 and 1.
2463
- - color (colour) : color of the geometry lines. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
2464
- - fill : fill color. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
2466
+ - color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
2467
+ - fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
2465
2468
  - size : line width.
2466
2469
  - linetype : type of the line. Codes and names: 0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
2467
2470
 
@@ -2646,8 +2649,8 @@ def geom_map(mapping=None, *, data=None, stat=None, position=None, show_legend=N
2646
2649
  `geom_map()` understands the following aesthetics:
2647
2650
 
2648
2651
  - alpha : transparency level of a layer. Accept values between 0 and 1.
2649
- - color (colour) : color of the geometry lines. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
2650
- - fill : fill color. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
2652
+ - color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
2653
+ - fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
2651
2654
  - size : line width.
2652
2655
  - linetype : type of the line. Codes and names: 0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
2653
2656
 
@@ -2801,7 +2804,7 @@ def geom_abline(mapping=None, *, data=None, stat=None, position=None, show_legen
2801
2804
  - slope : line slope.
2802
2805
  - intercept : line y-intercept.
2803
2806
  - alpha : transparency level of a layer. Accept values between 0 and 1.
2804
- - color (colour) : color of the geometry lines. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
2807
+ - color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
2805
2808
  - size : lines width.
2806
2809
  - linetype : type of the line. Codes and names: 0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
2807
2810
 
@@ -2911,8 +2914,8 @@ def geom_band(mapping=None, *, data=None, stat=None, position=None, show_legend=
2911
2914
  - ymin : y-axis value.
2912
2915
  - ymax : y-axis value.
2913
2916
  - alpha : transparency level of a layer. Accept values between 0 and 1.
2914
- - color (colour) : color of the geometry lines. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
2915
- - fill : fill color. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
2917
+ - color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
2918
+ - fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
2916
2919
  - size : lines width.
2917
2920
  - linetype : type of the line. Codes and names: 0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
2918
2921
 
@@ -2930,30 +2933,26 @@ def geom_band(mapping=None, *, data=None, stat=None, position=None, show_legend=
2930
2933
 
2931
2934
  .. jupyter-execute::
2932
2935
  :linenos:
2933
- :emphasize-lines: 16-19
2936
+ :emphasize-lines: 16-17
2934
2937
 
2938
+ import numpy as np
2939
+ import pandas as pd
2935
2940
  from lets_plot import *
2936
2941
  LetsPlot.setup_html()
2937
- n = 11
2938
- w = 5
2939
- color = "orange"
2940
- xdata = {
2941
- "xmin": list(range(0, w * n, w)),
2942
- "xmax": list(range(1, w * n + 1, w)),
2943
- }
2944
- ydata = {
2945
- "ymin": [0, 10],
2946
- "ymax": [10, 15],
2947
- "color": [color, "white"],
2948
- }
2942
+ groups = ["A", "B", "C"]
2943
+ n, m = 15, len(groups)
2944
+ np.random.seed(42)
2945
+ points_df = pd.DataFrame({
2946
+ 'x': np.random.normal(size=m*n),
2947
+ 'y': np.concatenate([np.random.normal(loc=loc, size=n)
2948
+ for loc in np.random.uniform(-1, 1, size=m)]),
2949
+ 'g': np.random.choice(groups, size=m*n),
2950
+ })
2951
+ vertical_bands_df = points_df.groupby('g')['y'].agg(['min', 'max']).reset_index()
2949
2952
  ggplot() + \\
2950
- geom_band(aes(xmin="xmin", xmax="xmax"), data=xdata, \\
2951
- size=0, fill=color, tooltips='none') + \\
2952
- geom_band(aes(ymin="ymin", ymax="ymax", fill="color"), data=ydata, \\
2953
- size=0, tooltips='none') + \\
2954
- scale_fill_identity() + \\
2955
- coord_polar(xlim=[0, w * n], ylim=[0, 25]) + \\
2956
- theme_void()
2953
+ geom_band(aes(ymin='min', ymax='max', paint_a='g'), data=vertical_bands_df, \\
2954
+ fill_by='paint_a', alpha=.2, size=0) + \\
2955
+ geom_point(aes('x', 'y', paint_a='g'), data=points_df, color_by='paint_a')
2957
2956
 
2958
2957
  """
2959
2958
  return _geom('band',
@@ -3024,7 +3023,7 @@ def geom_hline(mapping=None, *, data=None, stat=None, position=None, show_legend
3024
3023
 
3025
3024
  - yintercept : line y-intercept.
3026
3025
  - alpha : transparency level of a layer. Accept values between 0 and 1.
3027
- - color (colour) : color of the geometry lines. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
3026
+ - color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
3028
3027
  - size : line width.
3029
3028
  - linetype : type of the line. Codes and names: 0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
3030
3029
 
@@ -3144,7 +3143,7 @@ def geom_vline(mapping=None, *, data=None, stat=None, position=None, show_legend
3144
3143
 
3145
3144
  - xintercept : line x-intercept.
3146
3145
  - alpha : transparency level of a layer. Accept values between 0 and 1.
3147
- - color (colour) : color of the geometry lines. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
3146
+ - color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
3148
3147
  - size : lines width.
3149
3148
  - linetype : type of the line. Codes and names: 0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
3150
3149
 
@@ -3304,8 +3303,8 @@ def geom_boxplot(mapping=None, *, data=None, stat=None, position=None, show_lege
3304
3303
  - ymin : lower whisker.
3305
3304
  - ymax : upper whisker.
3306
3305
  - alpha : transparency level of a layer. Accept values between 0 and 1.
3307
- - color (colour) : color of the geometry lines. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
3308
- - fill : fill color. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
3306
+ - color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
3307
+ - fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
3309
3308
  - size : lines width.
3310
3309
  - linetype : type of the line of border. Codes and names: 0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
3311
3310
  - width : width of boxplot. Typically ranges between 0 and 1. Values that are greater than 1 lead to overlapping of the boxes.
@@ -3528,8 +3527,8 @@ def geom_violin(mapping=None, *, data=None, stat=None, position=None, show_legen
3528
3527
  - x : x-axis coordinates.
3529
3528
  - y : y-axis coordinates.
3530
3529
  - alpha : transparency level of a layer. Accept values between 0 and 1.
3531
- - color (colour) : color of the geometry lines. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
3532
- - fill : fill color. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
3530
+ - color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
3531
+ - fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
3533
3532
  - size : lines width.
3534
3533
  - linetype : type of the line of border. Codes and names: 0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
3535
3534
  - weight : used by 'ydensity' stat to compute weighted density.
@@ -3743,8 +3742,8 @@ def geom_ydotplot(mapping=None, *, data=None, show_legend=None, manual_key=None,
3743
3742
  - x : x-axis value.
3744
3743
  - y : y-axis value.
3745
3744
  - alpha : transparency level of a layer. Accept values between 0 and 1.
3746
- - color (colour) : color of the geometry lines. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
3747
- - fill : fill color. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
3745
+ - color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
3746
+ - fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
3748
3747
  - stroke : width of the dot border.
3749
3748
 
3750
3749
  Examples
@@ -3927,8 +3926,8 @@ def geom_area_ridges(mapping=None, *, data=None, stat=None, position=None, show_
3927
3926
  - y : y-axis coordinates.
3928
3927
  - height : height of the ridge. Assumed to be between 0 and 1, though this is not required.
3929
3928
  - alpha : transparency level of a layer. Accept values between 0 and 1.
3930
- - color (colour) : color of the geometry lines. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
3931
- - fill : fill color. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
3929
+ - color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
3930
+ - fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
3932
3931
  - size : lines width.
3933
3932
  - linetype : type of the line of border. Codes and names: 0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
3934
3933
  - weight : used by 'densityridges' stat to compute weighted density.
@@ -4069,8 +4068,8 @@ def geom_ribbon(mapping=None, *, data=None, stat=None, position=None, show_legen
4069
4068
  - ymin or xmin: y-axis or x-axis coordinates of the lower bound for horizontal or vertical ribbon, respectively.
4070
4069
  - ymax or xmax: y-axis or x-axis coordinates of the upper bound for horizontal or vertical ribbon, respectively.
4071
4070
  - alpha : transparency level of a layer. Accept values between 0 and 1.
4072
- - color (colour) : color of the geometry lines. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
4073
- - fill : fill color. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
4071
+ - color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
4072
+ - fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
4074
4073
  - size : lines width.
4075
4074
  - linetype : type of the line of border. Codes and names: 0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
4076
4075
 
@@ -4193,8 +4192,8 @@ def geom_area(mapping=None, *, data=None, stat=None, position=None, show_legend=
4193
4192
  - x : x-axis coordinates.
4194
4193
  - y : y-axis coordinates.
4195
4194
  - alpha : transparency level of a layer. Accept values between 0 and 1.
4196
- - color (colour) : color of the geometry lines. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
4197
- - fill : fill color. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
4195
+ - color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
4196
+ - fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
4198
4197
  - size : lines width.
4199
4198
  - linetype : type of the line of border. Codes and names: 0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
4200
4199
 
@@ -4353,8 +4352,8 @@ def geom_density(mapping=None, *, data=None, stat=None, position=None, show_lege
4353
4352
 
4354
4353
  - x : x-axis coordinates.
4355
4354
  - alpha : transparency level of a layer. Accept values between 0 and 1.
4356
- - color (colour) : color of the geometry lines. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
4357
- - fill : fill color. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
4355
+ - color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
4356
+ - fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
4358
4357
  - size : lines width.
4359
4358
  - linetype : type of the line. Codes and names: 0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
4360
4359
  - weight : used by 'density' stat to compute weighted density.
@@ -4553,7 +4552,7 @@ def geom_density2d(mapping=None, *, data=None, stat=None, position=None, show_le
4553
4552
  - x : x-axis coordinates.
4554
4553
  - y : y-axis coordinates.
4555
4554
  - alpha : transparency level of a layer. Accept values between 0 and 1.
4556
- - color (colour) : color of the geometry lines. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
4555
+ - color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
4557
4556
  - size : lines width.
4558
4557
  - linetype : type of the line of border. Codes and names: 0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
4559
4558
  - weight : used by 'density2d' stat to compute weighted density.
@@ -4777,7 +4776,7 @@ def geom_density2df(mapping=None, *, data=None, stat=None, position=None, show_l
4777
4776
 
4778
4777
  - x : x-axis coordinates.
4779
4778
  - alpha : transparency level of a layer. Accept values between 0 and 1.
4780
- - fill : fill color. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
4779
+ - fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
4781
4780
  - weight : used by 'density2df' stat to compute weighted density.
4782
4781
 
4783
4782
  ----
@@ -4993,8 +4992,8 @@ def geom_jitter(mapping=None, *, data=None, stat=None, position=None, show_legen
4993
4992
  - x : x-axis value.
4994
4993
  - y : y-axis value.
4995
4994
  - alpha : transparency level of a point. Accept values between 0 and 1.
4996
- - color (colour) : color of the geometry. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
4997
- - fill : fill color. Is applied only to the points of shapes having inner area. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
4995
+ - color (colour) : color of the geometry. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
4996
+ - fill : fill color. Is applied only to the points of shapes having inner area. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
4998
4997
  - shape : shape of the point, an integer from 0 to 25. For more info see https://lets-plot.org/python/pages/aesthetics.html#point-shapes.
4999
4998
  - size : size of the point.
5000
4999
  - stroke : width of the shape border. Applied only to the shapes having border.
@@ -5135,8 +5134,8 @@ def geom_qq(mapping=None, *, data=None, stat=None, position=None, show_legend=No
5135
5134
 
5136
5135
  - sample : y-axis value.
5137
5136
  - alpha : transparency level of a point. Accept values between 0 and 1.
5138
- - color (colour) : color of the geometry. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
5139
- - fill : fill color. Is applied only to the points of shapes having inner area. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
5137
+ - color (colour) : color of the geometry. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
5138
+ - fill : fill color. Is applied only to the points of shapes having inner area. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
5140
5139
  - shape : shape of the point, an integer from 0 to 25. For more info see https://lets-plot.org/python/pages/aesthetics.html#point-shapes.
5141
5140
  - size : size of the point.
5142
5141
  - stroke : width of the shape border. Applied only to the shapes having border.
@@ -5256,8 +5255,8 @@ def geom_qq2(mapping=None, *, data=None, stat=None, position=None, show_legend=N
5256
5255
  - x : x-axis value.
5257
5256
  - y : y-axis value.
5258
5257
  - alpha : transparency level of a point. Accept values between 0 and 1.
5259
- - color (colour) : color of the geometry. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
5260
- - fill : fill color. Is applied only to the points of shapes having inner area. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
5258
+ - color (colour) : color of the geometry. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
5259
+ - fill : fill color. Is applied only to the points of shapes having inner area. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
5261
5260
  - shape : shape of the point, an integer from 0 to 25. For more info see https://lets-plot.org/python/pages/aesthetics.html#point-shapes.
5262
5261
  - size : size of the point.
5263
5262
  - stroke : width of the shape border. Applied only to the shapes having border.
@@ -5372,7 +5371,7 @@ def geom_qq_line(mapping=None, *, data=None, stat=None, position=None, show_lege
5372
5371
 
5373
5372
  - sample : y-axis value.
5374
5373
  - alpha : transparency level of a layer. Accept values between 0 and 1.
5375
- - color (colour) : color of the geometry. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
5374
+ - color (colour) : color of the geometry. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
5376
5375
  - linetype : type of the line. Codes and names: 0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
5377
5376
  - size : line width.
5378
5377
 
@@ -5488,7 +5487,7 @@ def geom_qq2_line(mapping=None, *, data=None, stat=None, position=None, show_leg
5488
5487
  - x : x-axis value.
5489
5488
  - y : y-axis value.
5490
5489
  - alpha : transparency level of a layer. Accept values between 0 and 1.
5491
- - color (colour) : color of the geometry. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
5490
+ - color (colour) : color of the geometry. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
5492
5491
  - linetype : type of the line. Codes and names: 0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
5493
5492
  - size : line width.
5494
5493
 
@@ -5591,7 +5590,7 @@ def geom_freqpoly(mapping=None, *, data=None, stat=None, position=None, show_leg
5591
5590
  - x : x-axis value.
5592
5591
  - y : y-axis value.
5593
5592
  - alpha : transparency level of a layer. Accept values between 0 and 1.
5594
- - color (colour) : color of the geometry lines. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
5593
+ - color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
5595
5594
  - size : lines width.
5596
5595
  - linetype : type of the line of border. Codes and names: 0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
5597
5596
 
@@ -5706,7 +5705,7 @@ def geom_step(mapping=None, *, data=None, stat=None, position=None, show_legend=
5706
5705
  - x : x-axis value.
5707
5706
  - y : y-axis value.
5708
5707
  - alpha : transparency level of a layer. Accept values between 0 and 1.
5709
- - color (colour) : color of the geometry. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
5708
+ - color (colour) : color of the geometry. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
5710
5709
  - size : line width.
5711
5710
  - linetype : type of the line. Codes and names: 0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
5712
5711
 
@@ -5830,8 +5829,8 @@ def geom_rect(mapping=None, *, data=None, stat=None, position=None, show_legend=
5830
5829
  - ymin : y-axis value.
5831
5830
  - ymax : y-axis value.
5832
5831
  - alpha : transparency level of a layer. Accept values between 0 and 1.
5833
- - color (colour) : color of the geometry lines. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
5834
- - fill : fill color. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
5832
+ - color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
5833
+ - fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
5835
5834
  - size : lines width.
5836
5835
  - linetype : type of the line. Codes and names: 0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
5837
5836
 
@@ -6000,7 +5999,7 @@ def geom_segment(mapping=None, *, data=None, stat=None, position=None, show_lege
6000
5999
  - xend : x-axis value.
6001
6000
  - yend : y-axis value.
6002
6001
  - alpha : transparency level of a layer. Accept values between 0 and 1.
6003
- - color (colour) : color of the geometry lines. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
6002
+ - color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
6004
6003
  - size : line width.
6005
6004
  - linetype : type of the line. Codes and names: 0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
6006
6005
  - size_start : offset from the segment start coordinate (usually equal to the size of the point object from which the segment starts to avoid overlapping with it).
@@ -6162,7 +6161,7 @@ def geom_curve(mapping=None, *, data=None, stat=None, position=None, show_legend
6162
6161
  - xend : x-axis value.
6163
6162
  - yend : y-axis value.
6164
6163
  - alpha : transparency level of a layer. Accept values between 0 and 1.
6165
- - color (colour) : color of the geometry lines. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
6164
+ - color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
6166
6165
  - size : line width.
6167
6166
  - linetype : type of the line. Codes and names: 0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
6168
6167
  - size_start : offset from the start coordinate (usually equal to the size of the point object from which the curve starts to avoid overlapping with it).
@@ -6298,7 +6297,7 @@ def geom_spoke(mapping=None, *, data=None, position=None, show_legend=None, manu
6298
6297
  - angle : slope's angle in radians.
6299
6298
  - radius : segment length.
6300
6299
  - alpha : transparency level of a layer. Accept values between 0 and 1.
6301
- - color (colour) : color of the line. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
6300
+ - color (colour) : color of the line. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
6302
6301
  - size : line width.
6303
6302
  - linetype : type of the line. Codes and names: 0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
6304
6303
 
@@ -6468,11 +6467,11 @@ def geom_text(mapping=None, *, data=None, stat=None, position=None, show_legend=
6468
6467
  - x : x-axis value.
6469
6468
  - y : y-axis value.
6470
6469
  - alpha : transparency level of a layer. Accept values between 0 and 1.
6471
- - color (colour) : color of the geometry. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
6470
+ - color (colour) : color of the geometry. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
6472
6471
  - size : font size.
6473
6472
  - label : text to add to plot.
6474
- - family : font family. Possible values: 'sans', 'serif', 'mono', any other like: "Times New Roman". The default is 'sans'.
6475
- - fontface : font style and weight. Possible values: 'plain', 'bold', 'italic', 'bold italic'. The default is 'plain'.
6473
+ - family : font family. For more info see https://lets-plot.org/python/pages/aesthetics.html#text.
6474
+ - fontface : font style and weight. For more info see https://lets-plot.org/python/pages/aesthetics.html#text.
6476
6475
  - hjust : horizontal text alignment. Possible values: 'left', 'middle', 'right' or number between 0 ('left') and 1 ('right'). There are two special alignments: 'inward' (aligns text towards the plot center) and 'outward' (away from the plot center).
6477
6476
  - vjust : vertical text alignment. Possible values: 'bottom', 'center', 'top' or number between 0 ('bottom') and 1 ('top'). There are two special alignments: 'inward' (aligns text towards the plot center) and 'outward' (away from the plot center).
6478
6477
  - angle : text rotation angle in degrees.
@@ -6705,12 +6704,12 @@ def geom_label(mapping=None, *, data=None, stat=None, position=None, show_legend
6705
6704
  - x : x-axis value.
6706
6705
  - y : y-axis value.
6707
6706
  - alpha : transparency level of a layer. Accept values between 0 and 1.
6708
- - color (colour) : color of the geometry. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
6707
+ - color (colour) : color of the geometry. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
6709
6708
  - fill: background color of the label.
6710
6709
  - size : font size.
6711
6710
  - label : text to add to plot.
6712
- - family : font family. Possible values: 'sans', 'serif', 'mono', any other like: "Times New Roman". The default is 'sans'.
6713
- - fontface : font style and weight. Possible values: 'plain', 'bold', 'italic', 'bold italic'. The default is 'plain'.
6711
+ - family : font family. For more info see https://lets-plot.org/python/pages/aesthetics.html#text.
6712
+ - fontface : font style and weight. For more info see https://lets-plot.org/python/pages/aesthetics.html#text.
6714
6713
  - hjust : horizontal alignment. Possible values: 'left', 'middle', 'right' or number between 0 ('left') and 1 ('right'). There are two special alignments: 'inward' (aligns label towards the plot center) and 'outward' (away from the plot center).
6715
6714
  - vjust : vertical alignment. Possible values: 'bottom', 'center', 'top' or number between 0 ('bottom') and 1 ('top'). There are two special alignments: 'inward' (aligns label towards the plot center) and 'outward' (away from the plot center).
6716
6715
  - angle : rotation angle in degrees.
@@ -6942,7 +6941,7 @@ def geom_pie(mapping=None, *, data=None, stat=None, position=None, show_legend=N
6942
6941
  - slice : values associated to pie sectors.
6943
6942
  - explode : values to explode slices away from their center point, detaching it from the main pie. Accept values between 0 and 1.
6944
6943
  - size : pie diameter.
6945
- - fill : fill color. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
6944
+ - fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
6946
6945
  - alpha : transparency level of the pie. Accept values between 0 and 1.
6947
6946
  - weight : used by 'count2d' stat to compute weighted sum instead of simple count.
6948
6947
  - stroke : width of inner and outer arcs of pie sector.
@@ -7159,8 +7158,8 @@ def geom_lollipop(mapping=None, *, data=None, stat=None, position=None, show_leg
7159
7158
  - x : x-axis value.
7160
7159
  - y : y-axis value.
7161
7160
  - alpha : transparency level of the point. Accept values between 0 and 1.
7162
- - color (colour) : color of the geometry. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
7163
- - fill : fill color. Is applied only to the points of shapes having inner area. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
7161
+ - color (colour) : color of the geometry. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
7162
+ - fill : fill color. Is applied only to the points of shapes having inner area. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
7164
7163
  - shape : shape of the point, an integer from 0 to 25. For more info see https://lets-plot.org/python/pages/aesthetics.html#point-shapes.
7165
7164
  - size : size of the point.
7166
7165
  - stroke : width of the shape border. Applied only to the shapes having border.
@@ -7298,8 +7297,8 @@ def geom_count(mapping=None, *, data=None, stat=None, position=None, show_legend
7298
7297
  - x : x-axis coordinates.
7299
7298
  - y : y-axis coordinates.
7300
7299
  - alpha : transparency level of the point. Accept values between 0 and 1.
7301
- - color (colour) : color of the geometry. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
7302
- - fill : fill color. Is applied only to the points of shapes having inner area. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
7300
+ - color (colour) : color of the geometry. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
7301
+ - fill : fill color. Is applied only to the points of shapes having inner area. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
7303
7302
  - shape : shape of the point, an integer from 0 to 25. For more info see https://lets-plot.org/python/pages/aesthetics.html#point-shapes.
7304
7303
  - size : size of the point.
7305
7304
  - stroke : width of the shape border. Applied only to the shapes having border.