lets-plot 4.5.0__cp310-cp310-win_amd64.whl → 4.5.0rc1__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.
- lets_plot/__init__.py +1 -1
- lets_plot/_version.py +1 -1
- lets_plot/bistro/corr.py +1 -6
- lets_plot/bistro/joint.py +2 -7
- lets_plot/bistro/qq.py +5 -10
- lets_plot/bistro/residual.py +1 -6
- lets_plot/bistro/waterfall.py +4 -4
- lets_plot/package_data/lets-plot.min.js +1 -1
- lets_plot/plot/annotation.py +1 -1
- lets_plot/plot/expand_limits_.py +5 -5
- lets_plot/plot/facet.py +2 -2
- lets_plot/plot/geom.py +123 -314
- lets_plot/plot/geom_function_.py +2 -8
- lets_plot/plot/geom_livemap_.py +0 -32
- lets_plot/plot/ggtb_.py +3 -6
- lets_plot/plot/scale.py +40 -40
- lets_plot/plot/scale_colormap_mpl.py +3 -3
- lets_plot/plot/scale_identity_.py +19 -11
- lets_plot/plot/scale_position.py +14 -14
- lets_plot/plot/stat.py +0 -24
- lets_plot/plot/theme_.py +5 -8
- lets_plot/plot/tooltip.py +1 -1
- lets_plot/tilesets.py +69 -4
- {lets_plot-4.5.0.dist-info → lets_plot-4.5.0rc1.dist-info}/METADATA +18 -33
- {lets_plot-4.5.0.dist-info → lets_plot-4.5.0rc1.dist-info}/RECORD +29 -29
- lets_plot_kotlin_bridge.cp310-win_amd64.pyd +0 -0
- {lets_plot-4.5.0.dist-info → lets_plot-4.5.0rc1.dist-info}/LICENSE +0 -0
- {lets_plot-4.5.0.dist-info → lets_plot-4.5.0rc1.dist-info}/WHEEL +0 -0
- {lets_plot-4.5.0.dist-info → lets_plot-4.5.0rc1.dist-info}/top_level.txt +0 -0
lets_plot/plot/geom.py
CHANGED
|
@@ -75,7 +75,6 @@ def geom_point(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
75
75
|
tooltips : `layer_tooltips`
|
|
76
76
|
Result of the call to the `layer_tooltips()` function.
|
|
77
77
|
Specify appearance, style and content.
|
|
78
|
-
Set tooltips='none' to hide tooltips from the layer.
|
|
79
78
|
map : `GeoDataFrame` or `Geocoder`
|
|
80
79
|
Data containing coordinates of points.
|
|
81
80
|
map_join : str or list
|
|
@@ -117,9 +116,9 @@ def geom_point(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
117
116
|
- x : x-axis value.
|
|
118
117
|
- y : y-axis value.
|
|
119
118
|
- alpha : transparency level of the point. Accept values between 0 and 1.
|
|
120
|
-
- color (colour) : color of the geometry. For more info see
|
|
121
|
-
- fill : fill color. Is applied only to the points of shapes having inner area. For more info see
|
|
122
|
-
- shape : shape of the point, an integer from 0 to 25. For more info see
|
|
119
|
+
- color (colour) : color of the geometry. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
120
|
+
- 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.
|
|
121
|
+
- 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.
|
|
123
122
|
- angle : rotation angle of the point shape, in degrees.
|
|
124
123
|
- size : size of the point.
|
|
125
124
|
- stroke : width of the shape border. Applied only to the shapes having border.
|
|
@@ -154,11 +153,6 @@ def geom_point(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
154
153
|
|
|
155
154
|
- map_join=['County_name', 'State_Name']
|
|
156
155
|
|
|
157
|
-
----
|
|
158
|
-
|
|
159
|
-
To hide axis tooltips, set 'blank' or the result of `element_blank()`
|
|
160
|
-
to the `axis_tooltip`, `axis_tooltip_x` or `axis_tooltip_y` parameter of the `theme()`.
|
|
161
|
-
|
|
162
156
|
Examples
|
|
163
157
|
--------
|
|
164
158
|
.. jupyter-execute::
|
|
@@ -267,7 +261,6 @@ def geom_path(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
267
261
|
tooltips : `layer_tooltips`
|
|
268
262
|
Result of the call to the `layer_tooltips()` function.
|
|
269
263
|
Specify appearance, style and content.
|
|
270
|
-
Set tooltips='none' to hide tooltips from the layer.
|
|
271
264
|
map : `GeoDataFrame`
|
|
272
265
|
Data containing coordinates of lines.
|
|
273
266
|
map_join : str or list
|
|
@@ -307,8 +300,8 @@ def geom_path(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
307
300
|
- x : x-axis value.
|
|
308
301
|
- y : y-axis value.
|
|
309
302
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
310
|
-
- color (colour) : color of the geometry. For more info see
|
|
311
|
-
- linetype : type of the line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see
|
|
303
|
+
- color (colour) : color of the geometry. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
304
|
+
- linetype : type of the line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
312
305
|
- size : line width.
|
|
313
306
|
|
|
314
307
|
----
|
|
@@ -455,7 +448,6 @@ def geom_line(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
455
448
|
tooltips : `layer_tooltips`
|
|
456
449
|
Result of the call to the `layer_tooltips()` function.
|
|
457
450
|
Specify appearance, style and content.
|
|
458
|
-
Set tooltips='none' to hide tooltips from the layer.
|
|
459
451
|
color_by : {'fill', 'color', 'paint_a', 'paint_b', 'paint_c'}, default='color'
|
|
460
452
|
Define the color aesthetic for the geometry.
|
|
461
453
|
other_args
|
|
@@ -479,15 +471,10 @@ def geom_line(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
479
471
|
- x : x-axis value.
|
|
480
472
|
- y : y-axis value.
|
|
481
473
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
482
|
-
- color (colour) : color of the geometry. For more info see
|
|
483
|
-
- linetype : type of the line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see
|
|
474
|
+
- color (colour) : color of the geometry. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
475
|
+
- linetype : type of the line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
484
476
|
- size : line width.
|
|
485
477
|
|
|
486
|
-
----
|
|
487
|
-
|
|
488
|
-
To hide axis tooltips, set 'blank' or the result of `element_blank()`
|
|
489
|
-
to the `axis_tooltip` or `axis_tooltip_x` parameter of the `theme()`.
|
|
490
|
-
|
|
491
478
|
Examples
|
|
492
479
|
--------
|
|
493
480
|
.. jupyter-execute::
|
|
@@ -586,7 +573,6 @@ def geom_smooth(mapping=None, *, data=None, stat=None, position=None, show_legen
|
|
|
586
573
|
tooltips : `layer_tooltips`
|
|
587
574
|
Result of the call to the `layer_tooltips()` function.
|
|
588
575
|
Specify appearance, style and content.
|
|
589
|
-
Set tooltips='none' to hide tooltips from the layer.
|
|
590
576
|
orientation : str, default='x'
|
|
591
577
|
Specify the axis that the layer's stat and geom should run along.
|
|
592
578
|
Possible values: 'x', 'y'.
|
|
@@ -641,16 +627,11 @@ def geom_smooth(mapping=None, *, data=None, stat=None, position=None, show_legen
|
|
|
641
627
|
- x : x-axis value.
|
|
642
628
|
- y : y-axis value.
|
|
643
629
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
644
|
-
- color (colour) : color of the geometry. For more info see
|
|
645
|
-
- fill : fill color for the confidence interval around the line. For more info see
|
|
646
|
-
- linetype : type of the line of conditional mean line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see
|
|
630
|
+
- color (colour) : color of the geometry. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
631
|
+
- 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.
|
|
632
|
+
- linetype : type of the line of conditional mean line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
647
633
|
- size : line width. Define line width for conditional mean and confidence bounds lines.
|
|
648
634
|
|
|
649
|
-
----
|
|
650
|
-
|
|
651
|
-
To hide axis tooltips, set 'blank' or the result of `element_blank()`
|
|
652
|
-
to the `axis_tooltip` or `axis_tooltip_x` parameter of the `theme()`.
|
|
653
|
-
|
|
654
635
|
Examples
|
|
655
636
|
--------
|
|
656
637
|
.. jupyter-execute::
|
|
@@ -772,7 +753,6 @@ def geom_bar(mapping=None, *, data=None, stat=None, position=None, show_legend=N
|
|
|
772
753
|
tooltips : `layer_tooltips`
|
|
773
754
|
Result of the call to the `layer_tooltips()` function.
|
|
774
755
|
Specify appearance, style and content.
|
|
775
|
-
Set tooltips='none' to hide tooltips from the layer.
|
|
776
756
|
labels : `layer_labels`
|
|
777
757
|
Result of the call to the `layer_labels()` function.
|
|
778
758
|
Specify style and content of the annotations.
|
|
@@ -816,16 +796,11 @@ def geom_bar(mapping=None, *, data=None, stat=None, position=None, show_legend=N
|
|
|
816
796
|
- x : x-axis value (this value will produce cases or bins for bars).
|
|
817
797
|
- y : y-axis value (this value will be used to multiply the case's or bin's counts).
|
|
818
798
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
819
|
-
- color (colour) : color of the geometry lines. For more info see
|
|
820
|
-
- fill : fill color. For more info see
|
|
799
|
+
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
800
|
+
- fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
821
801
|
- size : line width. Define bar line width.
|
|
822
802
|
- weight : used by 'count' stat to compute weighted sum instead of simple count.
|
|
823
803
|
|
|
824
|
-
----
|
|
825
|
-
|
|
826
|
-
To hide axis tooltips, set 'blank' or the result of `element_blank()`
|
|
827
|
-
to the `axis_tooltip` or `axis_tooltip_x` parameter of the `theme()`.
|
|
828
|
-
|
|
829
804
|
Examples
|
|
830
805
|
--------
|
|
831
806
|
.. jupyter-execute::
|
|
@@ -943,7 +918,6 @@ def geom_histogram(mapping=None, *, data=None, stat=None, position=None, show_le
|
|
|
943
918
|
tooltips : `layer_tooltips`
|
|
944
919
|
Result of the call to the `layer_tooltips()` function.
|
|
945
920
|
Specify appearance, style and content.
|
|
946
|
-
Set tooltips='none' to hide tooltips from the layer.
|
|
947
921
|
labels : `layer_labels`
|
|
948
922
|
Result of the call to the `layer_labels()` function.
|
|
949
923
|
Specify style and content of the annotations.
|
|
@@ -993,16 +967,11 @@ def geom_histogram(mapping=None, *, data=None, stat=None, position=None, show_le
|
|
|
993
967
|
- x : x-axis value (this value will produce cases or bins for bars).
|
|
994
968
|
- y : y-axis value, default: '..count..'. Alternatively: '..density..'.
|
|
995
969
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
996
|
-
- color (colour) : color of the geometry lines. For more info see
|
|
997
|
-
- fill : fill color. For more info see
|
|
970
|
+
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
971
|
+
- fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
998
972
|
- size : line width.
|
|
999
973
|
- weight : used by 'bin' stat to compute weighted sum instead of simple count.
|
|
1000
974
|
|
|
1001
|
-
----
|
|
1002
|
-
|
|
1003
|
-
To hide axis tooltips, set 'blank' or the result of `element_blank()`
|
|
1004
|
-
to the `axis_tooltip` or `axis_tooltip_x` parameter of the `theme()`.
|
|
1005
|
-
|
|
1006
975
|
Examples
|
|
1007
976
|
--------
|
|
1008
977
|
.. jupyter-execute::
|
|
@@ -1108,7 +1077,6 @@ def geom_dotplot(mapping=None, *, data=None, show_legend=None, inherit_aes=None,
|
|
|
1108
1077
|
tooltips : `layer_tooltips`
|
|
1109
1078
|
Result of the call to the `layer_tooltips()` function.
|
|
1110
1079
|
Specify appearance, style and content.
|
|
1111
|
-
Set tooltips='none' to hide tooltips from the layer.
|
|
1112
1080
|
binwidth : float
|
|
1113
1081
|
When method is 'dotdensity', this specifies maximum bin width.
|
|
1114
1082
|
When method is 'histodot', this specifies bin width.
|
|
@@ -1160,15 +1128,10 @@ def geom_dotplot(mapping=None, *, data=None, show_legend=None, inherit_aes=None,
|
|
|
1160
1128
|
|
|
1161
1129
|
- x : x-axis value.
|
|
1162
1130
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
1163
|
-
- color (colour) : color of the geometry lines. For more info see
|
|
1164
|
-
- fill : fill color. For more info see
|
|
1131
|
+
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
1132
|
+
- fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
1165
1133
|
- stroke : width of the dot border.
|
|
1166
1134
|
|
|
1167
|
-
----
|
|
1168
|
-
|
|
1169
|
-
To hide axis tooltips, set 'blank' or the result of `element_blank()`
|
|
1170
|
-
to the `axis_tooltip` or `axis_tooltip_x` parameter of the `theme()`.
|
|
1171
|
-
|
|
1172
1135
|
Examples
|
|
1173
1136
|
--------
|
|
1174
1137
|
.. jupyter-execute::
|
|
@@ -1284,7 +1247,6 @@ def geom_bin2d(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
1284
1247
|
tooltips : `layer_tooltips`
|
|
1285
1248
|
Result of the call to the `layer_tooltips()` function.
|
|
1286
1249
|
Specify appearance, style and content.
|
|
1287
|
-
Set tooltips='none' to hide tooltips from the layer.
|
|
1288
1250
|
bins : list of int, default=[30, 30]
|
|
1289
1251
|
Number of bins in both directions, vertical and horizontal. Overridden by `binwidth`.
|
|
1290
1252
|
binwidth : list of float
|
|
@@ -1319,16 +1281,11 @@ def geom_bin2d(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
1319
1281
|
- x : x-axis value.
|
|
1320
1282
|
- y : y-axis value.
|
|
1321
1283
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
1322
|
-
- color (colour) : color of the geometry lines. For more info see
|
|
1323
|
-
- fill : fill color. For more info see
|
|
1284
|
+
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
1285
|
+
- fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
1324
1286
|
- size : line width, default=0 (i.e. tiles outline initially is not visible).
|
|
1325
1287
|
- weight : used by 'bin' stat to compute weighted sum instead of simple count.
|
|
1326
1288
|
|
|
1327
|
-
----
|
|
1328
|
-
|
|
1329
|
-
To hide axis tooltips, set 'blank' or the result of `element_blank()`
|
|
1330
|
-
to the `axis_tooltip`, `axis_tooltip_x` or `axis_tooltip_y` parameter of the `theme()`.
|
|
1331
|
-
|
|
1332
1289
|
Examples
|
|
1333
1290
|
--------
|
|
1334
1291
|
.. jupyter-execute::
|
|
@@ -1456,7 +1413,6 @@ def geom_tile(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
1456
1413
|
tooltips : `layer_tooltips`
|
|
1457
1414
|
Result of the call to the `layer_tooltips()` function.
|
|
1458
1415
|
Specify appearance, style and content.
|
|
1459
|
-
Set tooltips='none' to hide tooltips from the layer.
|
|
1460
1416
|
color_by : {'fill', 'color', 'paint_a', 'paint_b', 'paint_c'}, default='color'
|
|
1461
1417
|
Define the color aesthetic for the geometry.
|
|
1462
1418
|
fill_by : {'fill', 'color', 'paint_a', 'paint_b', 'paint_c'}, default='fill'
|
|
@@ -1479,17 +1435,12 @@ def geom_tile(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
1479
1435
|
- x : x-axis coordinates of the center of rectangles.
|
|
1480
1436
|
- y : y-axis coordinates of the center of rectangles.
|
|
1481
1437
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
1482
|
-
- color (colour) : color of the geometry lines. For more info see
|
|
1483
|
-
- fill : fill color. For more info see
|
|
1438
|
+
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
1439
|
+
- fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
1484
1440
|
- size : line width, default=0 (i.e. tiles outline initially is not visible).
|
|
1485
1441
|
- width : width of a tile. Typically range between 0 and 1. Values that are greater than 1 lead to overlapping of the tiles.
|
|
1486
1442
|
- height : height of a tile. Typically range between 0 and 1. Values that are greater than 1 lead to overlapping of the tiles.
|
|
1487
|
-
- linetype : type of the line of tile's border. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see
|
|
1488
|
-
|
|
1489
|
-
----
|
|
1490
|
-
|
|
1491
|
-
To hide axis tooltips, set 'blank' or the result of `element_blank()`
|
|
1492
|
-
to the `axis_tooltip`, `axis_tooltip_x` or `axis_tooltip_y` parameter of the `theme()`.
|
|
1443
|
+
- linetype : type of the line of tile's border. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
1493
1444
|
|
|
1494
1445
|
Examples
|
|
1495
1446
|
--------
|
|
@@ -1626,7 +1577,7 @@ def geom_raster(mapping=None, *, data=None, stat=None, position=None, show_legen
|
|
|
1626
1577
|
- x : x-axis coordinates of the center of rectangles.
|
|
1627
1578
|
- y : y-axis coordinates of the center of rectangles.
|
|
1628
1579
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
1629
|
-
- fill : fill color. For more info see
|
|
1580
|
+
- fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
1630
1581
|
|
|
1631
1582
|
Examples
|
|
1632
1583
|
--------
|
|
@@ -1708,7 +1659,6 @@ def geom_errorbar(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
1708
1659
|
tooltips : `layer_tooltips`
|
|
1709
1660
|
Result of the call to the `layer_tooltips()` function.
|
|
1710
1661
|
Specify appearance, style and content.
|
|
1711
|
-
Set tooltips='none' to hide tooltips from the layer.
|
|
1712
1662
|
color_by : {'fill', 'color', 'paint_a', 'paint_b', 'paint_c'}, default='color'
|
|
1713
1663
|
Define the color aesthetic for the geometry.
|
|
1714
1664
|
other_args
|
|
@@ -1733,15 +1683,10 @@ def geom_errorbar(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
1733
1683
|
- ymin or xmin: lower bound for vertical or horizontal error bar, respectively.
|
|
1734
1684
|
- ymax or xmax: upper bound for vertical or horizontal error bar, respectively.
|
|
1735
1685
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
1736
|
-
- color (colour) : color of the geometry lines. For more info see
|
|
1686
|
+
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
1737
1687
|
- size : line width. Define bar line width.
|
|
1738
1688
|
- 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.
|
|
1739
|
-
- linetype : type of the line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see
|
|
1740
|
-
|
|
1741
|
-
----
|
|
1742
|
-
|
|
1743
|
-
To hide axis tooltips, set 'blank' or the result of `element_blank()`
|
|
1744
|
-
to the `axis_tooltip` or `axis_tooltip_x` parameter of the `theme()`.
|
|
1689
|
+
- linetype : type of the line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
1745
1690
|
|
|
1746
1691
|
Examples
|
|
1747
1692
|
--------
|
|
@@ -1855,7 +1800,6 @@ def geom_crossbar(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
1855
1800
|
tooltips : `layer_tooltips`
|
|
1856
1801
|
Result of the call to the `layer_tooltips()` function.
|
|
1857
1802
|
Specify appearance, style and content.
|
|
1858
|
-
Set tooltips='none' to hide tooltips from the layer.
|
|
1859
1803
|
fatten : float, default=2.5
|
|
1860
1804
|
A multiplicative factor applied to size of the middle bar.
|
|
1861
1805
|
color_by : {'fill', 'color', 'paint_a', 'paint_b', 'paint_c'}, default='color'
|
|
@@ -1886,16 +1830,11 @@ def geom_crossbar(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
1886
1830
|
- ymin or xmin: lower bound for vertical or horizontal bar, respectively.
|
|
1887
1831
|
- ymax or xmax: upper bound for vertical or horizontal bar, respectively.
|
|
1888
1832
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
1889
|
-
- color (colour) : color of the geometry lines. For more info see
|
|
1890
|
-
- fill : fill color. For more info see
|
|
1833
|
+
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
1834
|
+
- fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
1891
1835
|
- size : lines width.
|
|
1892
1836
|
- width : width of a bar. Typically range between 0 and 1. Values that are greater than 1 lead to overlapping of the bars.
|
|
1893
|
-
- linetype : type of the line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see
|
|
1894
|
-
|
|
1895
|
-
----
|
|
1896
|
-
|
|
1897
|
-
To hide axis tooltips, set 'blank' or the result of `element_blank()`
|
|
1898
|
-
to the `axis_tooltip` or `axis_tooltip_x` parameter of the `theme()`.
|
|
1837
|
+
- linetype : type of the line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
1899
1838
|
|
|
1900
1839
|
Examples
|
|
1901
1840
|
--------
|
|
@@ -1999,7 +1938,6 @@ def geom_pointrange(mapping=None, *, data=None, stat=None, position=None, show_l
|
|
|
1999
1938
|
tooltips : `layer_tooltips`
|
|
2000
1939
|
Result of the call to the `layer_tooltips()` function.
|
|
2001
1940
|
Specify appearance, style and content.
|
|
2002
|
-
Set tooltips='none' to hide tooltips from the layer.
|
|
2003
1941
|
fatten : float, default=5.0
|
|
2004
1942
|
A multiplicative factor applied to size of the middle point.
|
|
2005
1943
|
color_by : {'fill', 'color', 'paint_a', 'paint_b', 'paint_c'}, default='color'
|
|
@@ -2030,19 +1968,14 @@ def geom_pointrange(mapping=None, *, data=None, stat=None, position=None, show_l
|
|
|
2030
1968
|
- ymin or xmin: lower bound for vertical or horizontal interval, respectively.
|
|
2031
1969
|
- ymax or xmax: upper bound for vertical or horizontal interval, respectively.
|
|
2032
1970
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
2033
|
-
- color (colour) : color of the geometry lines. For more info see
|
|
2034
|
-
- fill : fill color. For more info see
|
|
1971
|
+
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
1972
|
+
- fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
2035
1973
|
- size : size of mid-point.
|
|
2036
|
-
- linetype : type of the line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see
|
|
2037
|
-
- shape : shape of the mid-point, an integer from 0 to 25. For more info see
|
|
1974
|
+
- linetype : type of the line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
1975
|
+
- 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.
|
|
2038
1976
|
- stroke : width of the shape border. Applied only to the shapes having border.
|
|
2039
1977
|
- linewidth : line width.
|
|
2040
1978
|
|
|
2041
|
-
----
|
|
2042
|
-
|
|
2043
|
-
To hide axis tooltips, set 'blank' or the result of `element_blank()`
|
|
2044
|
-
to the `axis_tooltip` or `axis_tooltip_x` parameter of the `theme()`.
|
|
2045
|
-
|
|
2046
1979
|
Examples
|
|
2047
1980
|
--------
|
|
2048
1981
|
.. jupyter-execute::
|
|
@@ -2140,7 +2073,6 @@ def geom_linerange(mapping=None, *, data=None, stat=None, position=None, show_le
|
|
|
2140
2073
|
tooltips : `layer_tooltips`
|
|
2141
2074
|
Result of the call to the `layer_tooltips()` function.
|
|
2142
2075
|
Specify appearance, style and content.
|
|
2143
|
-
Set tooltips='none' to hide tooltips from the layer.
|
|
2144
2076
|
color_by : {'fill', 'color', 'paint_a', 'paint_b', 'paint_c'}, default='color'
|
|
2145
2077
|
Define the color aesthetic for the geometry.
|
|
2146
2078
|
other_args
|
|
@@ -2165,14 +2097,9 @@ def geom_linerange(mapping=None, *, data=None, stat=None, position=None, show_le
|
|
|
2165
2097
|
- ymin or xmin: lower bound for vertical or horizontal line range, respectively.
|
|
2166
2098
|
- ymax or xmax: upper bound for vertical or horizontal line range, respectively.
|
|
2167
2099
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
2168
|
-
- color (colour) : color of the geometry lines. For more info see
|
|
2100
|
+
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
2169
2101
|
- size : line width.
|
|
2170
|
-
- linetype : type of the line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see
|
|
2171
|
-
|
|
2172
|
-
----
|
|
2173
|
-
|
|
2174
|
-
To hide axis tooltips, set 'blank' or the result of `element_blank()`
|
|
2175
|
-
to the `axis_tooltip` or `axis_tooltip_x` parameter of the `theme()`.
|
|
2102
|
+
- linetype : type of the line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
2176
2103
|
|
|
2177
2104
|
Examples
|
|
2178
2105
|
--------
|
|
@@ -2267,7 +2194,6 @@ def geom_contour(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
2267
2194
|
tooltips : `layer_tooltips`
|
|
2268
2195
|
Result of the call to the `layer_tooltips()` function.
|
|
2269
2196
|
Specify appearance, style and content.
|
|
2270
|
-
Set tooltips='none' to hide tooltips from the layer.
|
|
2271
2197
|
bins : int
|
|
2272
2198
|
Number of levels.
|
|
2273
2199
|
binwidth : float
|
|
@@ -2299,14 +2225,9 @@ def geom_contour(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
2299
2225
|
- y : y-axis coordinates of the center of rectangles, forming a tessellation.
|
|
2300
2226
|
- z : value at point (x, y).
|
|
2301
2227
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
2302
|
-
- color (colour) : color of the geometry lines. For more info see
|
|
2228
|
+
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
2303
2229
|
- size : lines width.
|
|
2304
|
-
- linetype : type of the line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see
|
|
2305
|
-
|
|
2306
|
-
----
|
|
2307
|
-
|
|
2308
|
-
To hide axis tooltips, set 'blank' or the result of `element_blank()`
|
|
2309
|
-
to the `axis_tooltip`, `axis_tooltip_x` or `axis_tooltip_y` parameter of the `theme()`.
|
|
2230
|
+
- linetype : type of the line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
2310
2231
|
|
|
2311
2232
|
Examples
|
|
2312
2233
|
--------
|
|
@@ -2421,7 +2342,6 @@ def geom_contourf(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
2421
2342
|
tooltips : `layer_tooltips`
|
|
2422
2343
|
Result of the call to the `layer_tooltips()` function.
|
|
2423
2344
|
Specify appearance, style and content.
|
|
2424
|
-
Set tooltips='none' to hide tooltips from the layer.
|
|
2425
2345
|
bins : int
|
|
2426
2346
|
Number of levels.
|
|
2427
2347
|
binwidth : float
|
|
@@ -2455,7 +2375,7 @@ def geom_contourf(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
2455
2375
|
- y : y-axis coordinates of the center of rectangles, forming a tessellation.
|
|
2456
2376
|
- z : value at point (x, y).
|
|
2457
2377
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
2458
|
-
- fill : fill color. For more info see
|
|
2378
|
+
- fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
2459
2379
|
|
|
2460
2380
|
Examples
|
|
2461
2381
|
--------
|
|
@@ -2478,7 +2398,7 @@ def geom_contourf(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
2478
2398
|
rv = multivariate_normal(mean, cov)
|
|
2479
2399
|
Z = rv.pdf(np.dstack((X, Y)))
|
|
2480
2400
|
data = {'x': X.flatten(), 'y': Y.flatten(), 'z': Z.flatten()}
|
|
2481
|
-
ggplot(data, aes(x='x', y='y', z='z')) + geom_contourf(
|
|
2401
|
+
ggplot(data, aes(x='x', y='y', z='z')) + geom_contourf()
|
|
2482
2402
|
|
|
2483
2403
|
|
|
|
2484
2404
|
|
|
@@ -2571,7 +2491,6 @@ def geom_polygon(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
2571
2491
|
tooltips : `layer_tooltips`
|
|
2572
2492
|
Result of the call to the `layer_tooltips()` function.
|
|
2573
2493
|
Specify appearance, style and content.
|
|
2574
|
-
Set tooltips='none' to hide tooltips from the layer.
|
|
2575
2494
|
map : `GeoDataFrame` or `Geocoder`
|
|
2576
2495
|
Data contains coordinates of polygon vertices on map.
|
|
2577
2496
|
map_join : str or list
|
|
@@ -2608,10 +2527,10 @@ def geom_polygon(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
2608
2527
|
- x : x-axis coordinates of the vertices of the polygon.
|
|
2609
2528
|
- y : y-axis coordinates of the vertices of the polygon.
|
|
2610
2529
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
2611
|
-
- color (colour) : color of the geometry lines. For more info see
|
|
2612
|
-
- fill : fill color. For more info see
|
|
2530
|
+
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
2531
|
+
- fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
2613
2532
|
- size : line width.
|
|
2614
|
-
- linetype : type of the line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see
|
|
2533
|
+
- linetype : type of the line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
2615
2534
|
|
|
2616
2535
|
----
|
|
2617
2536
|
|
|
@@ -2762,7 +2681,6 @@ def geom_map(mapping=None, *, data=None, stat=None, position=None, show_legend=N
|
|
|
2762
2681
|
tooltips : `layer_tooltips`
|
|
2763
2682
|
Result of the call to the `layer_tooltips()` function.
|
|
2764
2683
|
Specify appearance, style and content.
|
|
2765
|
-
Set tooltips='none' to hide tooltips from the layer.
|
|
2766
2684
|
map : `GeoDataFrame` or `Geocoder`
|
|
2767
2685
|
Data containing region boundaries (coordinates of polygon vertices on map).
|
|
2768
2686
|
map_join : str or list
|
|
@@ -2798,10 +2716,10 @@ def geom_map(mapping=None, *, data=None, stat=None, position=None, show_legend=N
|
|
|
2798
2716
|
`geom_map()` understands the following aesthetics:
|
|
2799
2717
|
|
|
2800
2718
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
2801
|
-
- color (colour) : color of the geometry lines. For more info see
|
|
2802
|
-
- fill : fill color. For more info see
|
|
2719
|
+
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
2720
|
+
- fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
2803
2721
|
- size : line width.
|
|
2804
|
-
- linetype : type of the line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see
|
|
2722
|
+
- linetype : type of the line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
2805
2723
|
|
|
2806
2724
|
----
|
|
2807
2725
|
|
|
@@ -2957,9 +2875,9 @@ def geom_abline(mapping=None, *, data=None, stat=None, position=None, show_legen
|
|
|
2957
2875
|
- slope : line slope.
|
|
2958
2876
|
- intercept : line y-intercept.
|
|
2959
2877
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
2960
|
-
- color (colour) : color of the geometry lines. For more info see
|
|
2878
|
+
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
2961
2879
|
- size : lines width.
|
|
2962
|
-
- linetype : type of the line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see
|
|
2880
|
+
- linetype : type of the line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
2963
2881
|
|
|
2964
2882
|
Examples
|
|
2965
2883
|
--------
|
|
@@ -3046,7 +2964,6 @@ def geom_band(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
3046
2964
|
tooltips : `layer_tooltips`
|
|
3047
2965
|
Result of the call to the `layer_tooltips()` function.
|
|
3048
2966
|
Specify appearance, style and content.
|
|
3049
|
-
Set tooltips='none' to hide tooltips from the layer.
|
|
3050
2967
|
color_by : {'fill', 'color', 'paint_a', 'paint_b', 'paint_c'}, default='color'
|
|
3051
2968
|
Define the color aesthetic for the geometry.
|
|
3052
2969
|
fill_by : {'fill', 'color', 'paint_a', 'paint_b', 'paint_c'}, default='fill'
|
|
@@ -3071,10 +2988,10 @@ def geom_band(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
3071
2988
|
- ymin : y-axis value.
|
|
3072
2989
|
- ymax : y-axis value.
|
|
3073
2990
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
3074
|
-
- color (colour) : color of the geometry lines. For more info see
|
|
3075
|
-
- fill : fill color. For more info see
|
|
2991
|
+
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
2992
|
+
- fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
3076
2993
|
- size : lines width.
|
|
3077
|
-
- linetype : type of the line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see
|
|
2994
|
+
- linetype : type of the line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
3078
2995
|
|
|
3079
2996
|
Examples
|
|
3080
2997
|
--------
|
|
@@ -3163,7 +3080,6 @@ def geom_hline(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
3163
3080
|
tooltips : `layer_tooltips`
|
|
3164
3081
|
Result of the call to the `layer_tooltips()` function.
|
|
3165
3082
|
Specify appearance, style and content.
|
|
3166
|
-
Set tooltips='none' to hide tooltips from the layer.
|
|
3167
3083
|
yintercept : float
|
|
3168
3084
|
The value of y at the point where the line crosses the y axis.
|
|
3169
3085
|
color_by : {'fill', 'color', 'paint_a', 'paint_b', 'paint_c'}, default='color'
|
|
@@ -3185,9 +3101,9 @@ def geom_hline(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
3185
3101
|
|
|
3186
3102
|
- yintercept : line y-intercept.
|
|
3187
3103
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
3188
|
-
- color (colour) : color of the geometry lines. For more info see
|
|
3104
|
+
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
3189
3105
|
- size : line width.
|
|
3190
|
-
- linetype : type of the line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see
|
|
3106
|
+
- linetype : type of the line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
3191
3107
|
|
|
3192
3108
|
Examples
|
|
3193
3109
|
--------
|
|
@@ -3288,7 +3204,6 @@ def geom_vline(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
3288
3204
|
tooltips : `layer_tooltips`
|
|
3289
3205
|
Result of the call to the `layer_tooltips()` function.
|
|
3290
3206
|
Specify appearance, style and content.
|
|
3291
|
-
Set tooltips='none' to hide tooltips from the layer.
|
|
3292
3207
|
xintercept : float
|
|
3293
3208
|
The value of x at the point where the line crosses the x axis.
|
|
3294
3209
|
color_by : {'fill', 'color', 'paint_a', 'paint_b', 'paint_c'}, default='color'
|
|
@@ -3310,9 +3225,9 @@ def geom_vline(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
3310
3225
|
|
|
3311
3226
|
- xintercept : line x-intercept.
|
|
3312
3227
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
3313
|
-
- color (colour) : color of the geometry lines. For more info see
|
|
3228
|
+
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
3314
3229
|
- size : lines width.
|
|
3315
|
-
- linetype : type of the line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see
|
|
3230
|
+
- linetype : type of the line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
3316
3231
|
|
|
3317
3232
|
Examples
|
|
3318
3233
|
--------
|
|
@@ -3416,7 +3331,6 @@ def geom_boxplot(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
3416
3331
|
tooltips : `layer_tooltips`
|
|
3417
3332
|
Result of the call to the `layer_tooltips()` function.
|
|
3418
3333
|
Specify appearance, style and content.
|
|
3419
|
-
Set tooltips='none' to hide tooltips from the layer.
|
|
3420
3334
|
orientation : str
|
|
3421
3335
|
Specify the axis that the layer's stat and geom should run along.
|
|
3422
3336
|
The default value (None) automatically determines the orientation based on the aesthetic mapping.
|
|
@@ -3475,17 +3389,12 @@ def geom_boxplot(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
3475
3389
|
- ymin : lower whisker.
|
|
3476
3390
|
- ymax : upper whisker.
|
|
3477
3391
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
3478
|
-
- color (colour) : color of the geometry lines. For more info see
|
|
3479
|
-
- fill : fill color. For more info see
|
|
3392
|
+
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
3393
|
+
- fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
3480
3394
|
- size : lines width.
|
|
3481
|
-
- linetype : type of the line of border. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see
|
|
3395
|
+
- linetype : type of the line of border. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
3482
3396
|
- width : width of boxplot. Typically ranges between 0 and 1. Values that are greater than 1 lead to overlapping of the boxes.
|
|
3483
3397
|
|
|
3484
|
-
----
|
|
3485
|
-
|
|
3486
|
-
To hide axis tooltips, set 'blank' or the result of `element_blank()`
|
|
3487
|
-
to the `axis_tooltip` or `axis_tooltip_x` parameter of the `theme()`.
|
|
3488
|
-
|
|
3489
3398
|
Examples
|
|
3490
3399
|
--------
|
|
3491
3400
|
.. jupyter-execute::
|
|
@@ -3513,8 +3422,8 @@ def geom_boxplot(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
3513
3422
|
LetsPlot.setup_html()
|
|
3514
3423
|
n = 100
|
|
3515
3424
|
np.random.seed(42)
|
|
3516
|
-
x = np.random.
|
|
3517
|
-
y = np.random.
|
|
3425
|
+
x = np.random.choice(['a', 'b', 'b', 'c'], size=n)
|
|
3426
|
+
y = np.random.normal(size=n)
|
|
3518
3427
|
ggplot({'x': x, 'y': y}, aes(x='x', y='y')) + \\
|
|
3519
3428
|
geom_boxplot(fatten=5, varwidth=True, \\
|
|
3520
3429
|
outlier_shape=8, outlier_size=2)
|
|
@@ -3555,10 +3464,10 @@ def geom_boxplot(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
3555
3464
|
LetsPlot.setup_html()
|
|
3556
3465
|
n, m = 100, 5
|
|
3557
3466
|
np.random.seed(42)
|
|
3558
|
-
df = pd.DataFrame({'
|
|
3467
|
+
df = pd.DataFrame({'x%s' % i: np.random.normal(size=n) \\
|
|
3559
3468
|
for i in range(1, m + 1)})
|
|
3560
3469
|
ggplot(df.melt()) + \\
|
|
3561
|
-
geom_boxplot(aes(x='
|
|
3470
|
+
geom_boxplot(aes(x='variable', y='value', color='variable', \\
|
|
3562
3471
|
fill='variable'), \\
|
|
3563
3472
|
outlier_shape=21, outlier_size=1.5, size=2, \\
|
|
3564
3473
|
alpha=.5, width=.5, show_legend=False)
|
|
@@ -3645,7 +3554,6 @@ def geom_violin(mapping=None, *, data=None, stat=None, position=None, show_legen
|
|
|
3645
3554
|
tooltips : `layer_tooltips`
|
|
3646
3555
|
Result of the call to the `layer_tooltips()` function.
|
|
3647
3556
|
Specify appearance, style and content.
|
|
3648
|
-
Set tooltips='none' to hide tooltips from the layer.
|
|
3649
3557
|
orientation : str
|
|
3650
3558
|
Specify the axis that the layer's stat and geom should run along.
|
|
3651
3559
|
The default value (None) automatically determines the orientation based on the aesthetic mapping.
|
|
@@ -3710,18 +3618,13 @@ def geom_violin(mapping=None, *, data=None, stat=None, position=None, show_legen
|
|
|
3710
3618
|
- x : x-axis coordinates.
|
|
3711
3619
|
- y : y-axis coordinates.
|
|
3712
3620
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
3713
|
-
- color (colour) : color of the geometry lines. For more info see
|
|
3714
|
-
- fill : fill color. For more info see
|
|
3621
|
+
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
3622
|
+
- fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
3715
3623
|
- size : lines width.
|
|
3716
|
-
- linetype : type of the line of border. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see
|
|
3624
|
+
- linetype : type of the line of border. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
3717
3625
|
- weight : used by 'ydensity' stat to compute weighted density.
|
|
3718
3626
|
- quantile : quantile values to draw quantile lines and fill quantiles of the geometry by color.
|
|
3719
3627
|
|
|
3720
|
-
----
|
|
3721
|
-
|
|
3722
|
-
To hide axis tooltips, set 'blank' or the result of `element_blank()`
|
|
3723
|
-
to the `axis_tooltip`, `axis_tooltip_x` or `axis_tooltip_y` parameter of the `theme()`.
|
|
3724
|
-
|
|
3725
3628
|
Examples
|
|
3726
3629
|
--------
|
|
3727
3630
|
.. jupyter-execute::
|
|
@@ -3878,7 +3781,6 @@ def geom_ydotplot(mapping=None, *, data=None, show_legend=None, inherit_aes=None
|
|
|
3878
3781
|
tooltips : `layer_tooltips`
|
|
3879
3782
|
Result of the call to the `layer_tooltips()` function.
|
|
3880
3783
|
Specify appearance, style and content.
|
|
3881
|
-
Set tooltips='none' to hide tooltips from the layer.
|
|
3882
3784
|
orientation : str
|
|
3883
3785
|
Specify the axis that the layer's stat and geom should run along.
|
|
3884
3786
|
The default value (None) automatically determines the orientation based on the aesthetic mapping.
|
|
@@ -3937,15 +3839,10 @@ def geom_ydotplot(mapping=None, *, data=None, show_legend=None, inherit_aes=None
|
|
|
3937
3839
|
- x : x-axis value.
|
|
3938
3840
|
- y : y-axis value.
|
|
3939
3841
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
3940
|
-
- color (colour) : color of the geometry lines. For more info see
|
|
3941
|
-
- fill : fill color. For more info see
|
|
3842
|
+
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
3843
|
+
- fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
3942
3844
|
- stroke : width of the dot border.
|
|
3943
3845
|
|
|
3944
|
-
----
|
|
3945
|
-
|
|
3946
|
-
To hide axis tooltips, set 'blank' or the result of `element_blank()`
|
|
3947
|
-
to the `axis_tooltip`, `axis_tooltip_x` or `axis_tooltip_y` parameter of the `theme()`.
|
|
3948
|
-
|
|
3949
3846
|
Examples
|
|
3950
3847
|
--------
|
|
3951
3848
|
.. jupyter-execute::
|
|
@@ -4069,7 +3966,6 @@ def geom_area_ridges(mapping=None, *, data=None, stat=None, position=None, show_
|
|
|
4069
3966
|
tooltips : `layer_tooltips`
|
|
4070
3967
|
Result of the call to the `layer_tooltips()` function.
|
|
4071
3968
|
Specify appearance, style and content.
|
|
4072
|
-
Set tooltips='none' to hide tooltips from the layer.
|
|
4073
3969
|
trim : bool, default=False
|
|
4074
3970
|
Trim the tails of the ridges to the range of the data.
|
|
4075
3971
|
tails_cutoff : float
|
|
@@ -4131,18 +4027,13 @@ def geom_area_ridges(mapping=None, *, data=None, stat=None, position=None, show_
|
|
|
4131
4027
|
- y : y-axis coordinates.
|
|
4132
4028
|
- height : height of the ridge. Assumed to be between 0 and 1, though this is not required.
|
|
4133
4029
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
4134
|
-
- color (colour) : color of the geometry lines. For more info see
|
|
4135
|
-
- fill : fill color. For more info see
|
|
4030
|
+
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
4031
|
+
- fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
4136
4032
|
- size : lines width.
|
|
4137
|
-
- linetype : type of the line of border. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see
|
|
4033
|
+
- linetype : type of the line of border. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
4138
4034
|
- weight : used by 'densityridges' stat to compute weighted density.
|
|
4139
4035
|
- quantile : quantile values to draw quantile lines and fill quantiles of the geometry by color.
|
|
4140
4036
|
|
|
4141
|
-
----
|
|
4142
|
-
|
|
4143
|
-
To hide axis tooltips, set 'blank' or the result of `element_blank()`
|
|
4144
|
-
to the `axis_tooltip` or `axis_tooltip_x` parameter of the `theme()`.
|
|
4145
|
-
|
|
4146
4037
|
Examples
|
|
4147
4038
|
--------
|
|
4148
4039
|
.. jupyter-execute::
|
|
@@ -4257,7 +4148,6 @@ def geom_ribbon(mapping=None, *, data=None, stat=None, position=None, show_legen
|
|
|
4257
4148
|
tooltips : `layer_tooltips`
|
|
4258
4149
|
Result of the call to the `layer_tooltips()` function.
|
|
4259
4150
|
Specify appearance, style and content.
|
|
4260
|
-
Set tooltips='none' to hide tooltips from the layer.
|
|
4261
4151
|
color_by : {'fill', 'color', 'paint_a', 'paint_b', 'paint_c'}, default='color'
|
|
4262
4152
|
Define the color aesthetic for the geometry.
|
|
4263
4153
|
fill_by : {'fill', 'color', 'paint_a', 'paint_b', 'paint_c'}, default='fill'
|
|
@@ -4283,15 +4173,10 @@ def geom_ribbon(mapping=None, *, data=None, stat=None, position=None, show_legen
|
|
|
4283
4173
|
- ymin or xmin: y-axis or x-axis coordinates of the lower bound for horizontal or vertical ribbon, respectively.
|
|
4284
4174
|
- ymax or xmax: y-axis or x-axis coordinates of the upper bound for horizontal or vertical ribbon, respectively.
|
|
4285
4175
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
4286
|
-
- color (colour) : color of the geometry lines. For more info see
|
|
4287
|
-
- fill : fill color. For more info see
|
|
4176
|
+
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
4177
|
+
- fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
4288
4178
|
- size : lines width.
|
|
4289
|
-
- linetype : type of the line of border. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see
|
|
4290
|
-
|
|
4291
|
-
----
|
|
4292
|
-
|
|
4293
|
-
To hide axis tooltips, set 'blank' or the result of `element_blank()`
|
|
4294
|
-
to the `axis_tooltip` or `axis_tooltip_x` parameter of the `theme()`.
|
|
4179
|
+
- linetype : type of the line of border. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
4295
4180
|
|
|
4296
4181
|
Examples
|
|
4297
4182
|
--------
|
|
@@ -4388,7 +4273,6 @@ def geom_area(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
4388
4273
|
tooltips : `layer_tooltips`
|
|
4389
4274
|
Result of the call to the `layer_tooltips()` function.
|
|
4390
4275
|
Specify appearance, style and content.
|
|
4391
|
-
Set tooltips='none' to hide tooltips from the layer.
|
|
4392
4276
|
flat : bool, default=False.
|
|
4393
4277
|
True - keep a line straight (corresponding to a loxodrome in case of Mercator projection).
|
|
4394
4278
|
False - allow a line to be reprojected, so it can become a curve.
|
|
@@ -4416,15 +4300,10 @@ def geom_area(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
4416
4300
|
- x : x-axis coordinates.
|
|
4417
4301
|
- y : y-axis coordinates.
|
|
4418
4302
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
4419
|
-
- color (colour) : color of the geometry lines. For more info see
|
|
4420
|
-
- fill : fill color. For more info see
|
|
4303
|
+
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
4304
|
+
- fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
4421
4305
|
- size : lines width.
|
|
4422
|
-
- linetype : type of the line of border. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see
|
|
4423
|
-
|
|
4424
|
-
----
|
|
4425
|
-
|
|
4426
|
-
To hide axis tooltips, set 'blank' or the result of `element_blank()`
|
|
4427
|
-
to the `axis_tooltip` or `axis_tooltip_x` parameter of the `theme()`.
|
|
4306
|
+
- linetype : type of the line of border. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
4428
4307
|
|
|
4429
4308
|
Examples
|
|
4430
4309
|
--------
|
|
@@ -4533,7 +4412,6 @@ def geom_density(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
4533
4412
|
tooltips : `layer_tooltips`
|
|
4534
4413
|
Result of the call to the `layer_tooltips()` function.
|
|
4535
4414
|
Specify appearance, style and content.
|
|
4536
|
-
Set tooltips='none' to hide tooltips from the layer.
|
|
4537
4415
|
orientation : str, default='x'
|
|
4538
4416
|
Specify the axis that the layer's stat and geom should run along.
|
|
4539
4417
|
Possible values: 'x', 'y'.
|
|
@@ -4586,18 +4464,13 @@ def geom_density(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
4586
4464
|
|
|
4587
4465
|
- x : x-axis coordinates.
|
|
4588
4466
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
4589
|
-
- color (colour) : color of the geometry lines. For more info see
|
|
4590
|
-
- fill : fill color. For more info see
|
|
4467
|
+
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
4468
|
+
- fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
4591
4469
|
- size : lines width.
|
|
4592
|
-
- linetype : type of the line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see
|
|
4470
|
+
- linetype : type of the line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
4593
4471
|
- weight : used by 'density' stat to compute weighted density.
|
|
4594
4472
|
- quantile : quantile values to draw quantile lines and fill quantiles of the geometry by color.
|
|
4595
4473
|
|
|
4596
|
-
----
|
|
4597
|
-
|
|
4598
|
-
To hide axis tooltips, set 'blank' or the result of `element_blank()`
|
|
4599
|
-
to the `axis_tooltip` or `axis_tooltip_x` parameter of the `theme()`.
|
|
4600
|
-
|
|
4601
4474
|
Examples
|
|
4602
4475
|
--------
|
|
4603
4476
|
.. jupyter-execute::
|
|
@@ -4752,7 +4625,6 @@ def geom_density2d(mapping=None, *, data=None, stat=None, position=None, show_le
|
|
|
4752
4625
|
tooltips : `layer_tooltips`
|
|
4753
4626
|
Result of the call to the `layer_tooltips()` function.
|
|
4754
4627
|
Specify appearance, style and content.
|
|
4755
|
-
Set tooltips='none' to hide tooltips from the layer.
|
|
4756
4628
|
kernel : str, default='gaussian'
|
|
4757
4629
|
The kernel we use to calculate the density function.
|
|
4758
4630
|
Choose among 'gaussian', 'cosine', 'optcosine', 'rectangular' (or 'uniform'),
|
|
@@ -4795,18 +4667,13 @@ def geom_density2d(mapping=None, *, data=None, stat=None, position=None, show_le
|
|
|
4795
4667
|
- x : x-axis coordinates.
|
|
4796
4668
|
- y : y-axis coordinates.
|
|
4797
4669
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
4798
|
-
- color (colour) : color of the geometry lines. For more info see
|
|
4670
|
+
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
4799
4671
|
- size : lines width.
|
|
4800
|
-
- linetype : type of the line of border. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see
|
|
4672
|
+
- linetype : type of the line of border. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
4801
4673
|
- weight : used by 'density2d' stat to compute weighted density.
|
|
4802
4674
|
|
|
4803
4675
|
----
|
|
4804
4676
|
|
|
4805
|
-
To hide axis tooltips, set 'blank' or the result of `element_blank()`
|
|
4806
|
-
to the `axis_tooltip`, `axis_tooltip_x` or `axis_tooltip_y` parameter of the `theme()`.
|
|
4807
|
-
|
|
4808
|
-
----
|
|
4809
|
-
|
|
4810
4677
|
'density2d' statistical transformation combined with parameter value `contour=False`
|
|
4811
4678
|
could be used to draw heatmaps (see the example below).
|
|
4812
4679
|
|
|
@@ -4984,7 +4851,6 @@ def geom_density2df(mapping=None, *, data=None, stat=None, position=None, show_l
|
|
|
4984
4851
|
tooltips : `layer_tooltips`
|
|
4985
4852
|
Result of the call to the `layer_tooltips()` function.
|
|
4986
4853
|
Specify appearance, style and content.
|
|
4987
|
-
Set tooltips='none' to hide tooltips from the layer.
|
|
4988
4854
|
kernel : str, default='gaussian'
|
|
4989
4855
|
The kernel we use to calculate the density function.
|
|
4990
4856
|
Choose among 'gaussian', 'cosine', 'optcosine', 'rectangular' (or 'uniform'),
|
|
@@ -5028,7 +4894,7 @@ def geom_density2df(mapping=None, *, data=None, stat=None, position=None, show_l
|
|
|
5028
4894
|
|
|
5029
4895
|
- x : x-axis coordinates.
|
|
5030
4896
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
5031
|
-
- fill : fill color. For more info see
|
|
4897
|
+
- fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
5032
4898
|
- weight : used by 'density2df' stat to compute weighted density.
|
|
5033
4899
|
|
|
5034
4900
|
----
|
|
@@ -5050,7 +4916,7 @@ def geom_density2df(mapping=None, *, data=None, stat=None, position=None, show_l
|
|
|
5050
4916
|
x = np.random.normal(size=n)
|
|
5051
4917
|
y = np.random.normal(size=n)
|
|
5052
4918
|
ggplot({'x': x, 'y': y}, aes(x='x', y='y')) + \\
|
|
5053
|
-
geom_density2df(
|
|
4919
|
+
geom_density2df()
|
|
5054
4920
|
|
|
5055
4921
|
|
|
|
5056
4922
|
|
|
@@ -5214,7 +5080,6 @@ def geom_jitter(mapping=None, *, data=None, stat=None, position=None, show_legen
|
|
|
5214
5080
|
tooltips : `layer_tooltips`
|
|
5215
5081
|
Result of the call to the `layer_tooltips()` function.
|
|
5216
5082
|
Specify appearance, style and content.
|
|
5217
|
-
Set tooltips='none' to hide tooltips from the layer.
|
|
5218
5083
|
width : float, default=0.4
|
|
5219
5084
|
Amount of horizontal variation. The jitter is added in both directions, so the total spread is twice the specified parameter.
|
|
5220
5085
|
Typically ranges between 0 and 0.5. Values that are greater than 0.5 lead to overlapping of the points.
|
|
@@ -5249,17 +5114,12 @@ def geom_jitter(mapping=None, *, data=None, stat=None, position=None, show_legen
|
|
|
5249
5114
|
- x : x-axis value.
|
|
5250
5115
|
- y : y-axis value.
|
|
5251
5116
|
- alpha : transparency level of a point. Accept values between 0 and 1.
|
|
5252
|
-
- color (colour) : color of the geometry. For more info see
|
|
5253
|
-
- fill : fill color. Is applied only to the points of shapes having inner area. For more info see
|
|
5254
|
-
- shape : shape of the point, an integer from 0 to 25. For more info see
|
|
5117
|
+
- color (colour) : color of the geometry. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
5118
|
+
- 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.
|
|
5119
|
+
- 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.
|
|
5255
5120
|
- size : size of the point.
|
|
5256
5121
|
- stroke : width of the shape border. Applied only to the shapes having border.
|
|
5257
5122
|
|
|
5258
|
-
----
|
|
5259
|
-
|
|
5260
|
-
To hide axis tooltips, set 'blank' or the result of `element_blank()`
|
|
5261
|
-
to the `axis_tooltip`, `axis_tooltip_x` or `axis_tooltip_y` parameter of the `theme()`.
|
|
5262
|
-
|
|
5263
5123
|
Examples
|
|
5264
5124
|
--------
|
|
5265
5125
|
.. jupyter-execute::
|
|
@@ -5358,7 +5218,6 @@ def geom_qq(mapping=None, *, data=None, stat=None, position=None, show_legend=No
|
|
|
5358
5218
|
tooltips : `layer_tooltips`
|
|
5359
5219
|
Result of the call to the `layer_tooltips()` function.
|
|
5360
5220
|
Specify appearance, style and content.
|
|
5361
|
-
Set tooltips='none' to hide tooltips from the layer.
|
|
5362
5221
|
distribution : {'norm', 'uniform', 't', 'gamma', 'exp', 'chi2'}, default='norm'
|
|
5363
5222
|
Distribution function to use.
|
|
5364
5223
|
dparams : list
|
|
@@ -5401,17 +5260,12 @@ def geom_qq(mapping=None, *, data=None, stat=None, position=None, show_legend=No
|
|
|
5401
5260
|
|
|
5402
5261
|
- sample : y-axis value.
|
|
5403
5262
|
- alpha : transparency level of a point. Accept values between 0 and 1.
|
|
5404
|
-
- color (colour) : color of the geometry. For more info see
|
|
5405
|
-
- fill : fill color. Is applied only to the points of shapes having inner area. For more info see
|
|
5406
|
-
- shape : shape of the point, an integer from 0 to 25. For more info see
|
|
5263
|
+
- color (colour) : color of the geometry. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
5264
|
+
- 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.
|
|
5265
|
+
- 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.
|
|
5407
5266
|
- size : size of the point.
|
|
5408
5267
|
- stroke : width of the shape border. Applied only to the shapes having border.
|
|
5409
5268
|
|
|
5410
|
-
----
|
|
5411
|
-
|
|
5412
|
-
To hide axis tooltips, set 'blank' or the result of `element_blank()`
|
|
5413
|
-
to the `axis_tooltip`, `axis_tooltip_x` or `axis_tooltip_y` parameter of the `theme()`.
|
|
5414
|
-
|
|
5415
5269
|
Examples
|
|
5416
5270
|
--------
|
|
5417
5271
|
.. jupyter-execute::
|
|
@@ -5500,7 +5354,6 @@ def geom_qq2(mapping=None, *, data=None, stat=None, position=None, show_legend=N
|
|
|
5500
5354
|
tooltips : `layer_tooltips`
|
|
5501
5355
|
Result of the call to the `layer_tooltips()` function.
|
|
5502
5356
|
Specify appearance, style and content.
|
|
5503
|
-
Set tooltips='none' to hide tooltips from the layer.
|
|
5504
5357
|
color_by : {'fill', 'color', 'paint_a', 'paint_b', 'paint_c'}, default='color'
|
|
5505
5358
|
Define the color aesthetic for the geometry.
|
|
5506
5359
|
fill_by : {'fill', 'color', 'paint_a', 'paint_b', 'paint_c'}, default='fill'
|
|
@@ -5532,17 +5385,12 @@ def geom_qq2(mapping=None, *, data=None, stat=None, position=None, show_legend=N
|
|
|
5532
5385
|
- x : x-axis value.
|
|
5533
5386
|
- y : y-axis value.
|
|
5534
5387
|
- alpha : transparency level of a point. Accept values between 0 and 1.
|
|
5535
|
-
- color (colour) : color of the geometry. For more info see
|
|
5536
|
-
- fill : fill color. Is applied only to the points of shapes having inner area. For more info see
|
|
5537
|
-
- shape : shape of the point, an integer from 0 to 25. For more info see
|
|
5388
|
+
- color (colour) : color of the geometry. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
5389
|
+
- 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.
|
|
5390
|
+
- 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.
|
|
5538
5391
|
- size : size of the point.
|
|
5539
5392
|
- stroke : width of the shape border. Applied only to the shapes having border.
|
|
5540
5393
|
|
|
5541
|
-
----
|
|
5542
|
-
|
|
5543
|
-
To hide axis tooltips, set 'blank' or the result of `element_blank()`
|
|
5544
|
-
to the `axis_tooltip`, `axis_tooltip_x` or `axis_tooltip_y` parameter of the `theme()`.
|
|
5545
|
-
|
|
5546
5394
|
Examples
|
|
5547
5395
|
--------
|
|
5548
5396
|
.. jupyter-execute::
|
|
@@ -5618,7 +5466,6 @@ def geom_qq_line(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
5618
5466
|
tooltips : `layer_tooltips`
|
|
5619
5467
|
Result of the call to the `layer_tooltips()` function.
|
|
5620
5468
|
Specify appearance, style and content.
|
|
5621
|
-
Set tooltips='none' to hide tooltips from the layer.
|
|
5622
5469
|
distribution : {'norm', 'uniform', 't', 'gamma', 'exp', 'chi2'}, default='norm'
|
|
5623
5470
|
Distribution function to use.
|
|
5624
5471
|
dparams : list
|
|
@@ -5658,8 +5505,8 @@ def geom_qq_line(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
5658
5505
|
|
|
5659
5506
|
- sample : y-axis value.
|
|
5660
5507
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
5661
|
-
- color (colour) : color of the geometry. For more info see
|
|
5662
|
-
- linetype : type of the line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see
|
|
5508
|
+
- color (colour) : color of the geometry. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
5509
|
+
- linetype : type of the line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
5663
5510
|
- size : line width.
|
|
5664
5511
|
|
|
5665
5512
|
Examples
|
|
@@ -5753,7 +5600,6 @@ def geom_qq2_line(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
5753
5600
|
tooltips : `layer_tooltips`
|
|
5754
5601
|
Result of the call to the `layer_tooltips()` function.
|
|
5755
5602
|
Specify appearance, style and content.
|
|
5756
|
-
Set tooltips='none' to hide tooltips from the layer.
|
|
5757
5603
|
quantiles : list, default=[0.25, 0.75]
|
|
5758
5604
|
Pair of quantiles to use when fitting the Q-Q line.
|
|
5759
5605
|
color_by : {'fill', 'color', 'paint_a', 'paint_b', 'paint_c'}, default='color'
|
|
@@ -5779,8 +5625,8 @@ def geom_qq2_line(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
5779
5625
|
- x : x-axis value.
|
|
5780
5626
|
- y : y-axis value.
|
|
5781
5627
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
5782
|
-
- color (colour) : color of the geometry. For more info see
|
|
5783
|
-
- linetype : type of the line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see
|
|
5628
|
+
- color (colour) : color of the geometry. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
5629
|
+
- linetype : type of the line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
5784
5630
|
- size : line width.
|
|
5785
5631
|
|
|
5786
5632
|
Examples
|
|
@@ -5856,7 +5702,6 @@ def geom_freqpoly(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
5856
5702
|
tooltips : `layer_tooltips`
|
|
5857
5703
|
Result of the call to the `layer_tooltips()` function.
|
|
5858
5704
|
Specify appearance, style and content.
|
|
5859
|
-
Set tooltips='none' to hide tooltips from the layer.
|
|
5860
5705
|
orientation : str, default='x'
|
|
5861
5706
|
Specify the axis that the layer's stat and geom should run along.
|
|
5862
5707
|
Possible values: 'x', 'y'.
|
|
@@ -5886,14 +5731,9 @@ def geom_freqpoly(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
5886
5731
|
- x : x-axis value.
|
|
5887
5732
|
- y : y-axis value.
|
|
5888
5733
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
5889
|
-
- color (colour) : color of the geometry lines. For more info see
|
|
5734
|
+
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
5890
5735
|
- size : lines width.
|
|
5891
|
-
- linetype : type of the line of border. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see
|
|
5892
|
-
|
|
5893
|
-
----
|
|
5894
|
-
|
|
5895
|
-
To hide axis tooltips, set 'blank' or the result of `element_blank()`
|
|
5896
|
-
to the `axis_tooltip` or `axis_tooltip_x` parameter of the `theme()`.
|
|
5736
|
+
- linetype : type of the line of border. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
5897
5737
|
|
|
5898
5738
|
Examples
|
|
5899
5739
|
--------
|
|
@@ -5985,7 +5825,6 @@ def geom_step(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
5985
5825
|
tooltips : `layer_tooltips`
|
|
5986
5826
|
Result of the call to the `layer_tooltips()` function.
|
|
5987
5827
|
Specify appearance, style and content.
|
|
5988
|
-
Set tooltips='none' to hide tooltips from the layer.
|
|
5989
5828
|
direction : {'hv', 'vh'}, default='hv'
|
|
5990
5829
|
'hv' or 'HV' stands for horizontal then vertical;
|
|
5991
5830
|
'vh' or 'VH' stands for vertical then horizontal.
|
|
@@ -6011,14 +5850,9 @@ def geom_step(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
6011
5850
|
- x : x-axis value.
|
|
6012
5851
|
- y : y-axis value.
|
|
6013
5852
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
6014
|
-
- color (colour) : color of the geometry. For more info see
|
|
5853
|
+
- color (colour) : color of the geometry. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
6015
5854
|
- size : line width.
|
|
6016
|
-
- linetype : type of the line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see
|
|
6017
|
-
|
|
6018
|
-
----
|
|
6019
|
-
|
|
6020
|
-
To hide axis tooltips, set 'blank' or the result of `element_blank()`
|
|
6021
|
-
to the `axis_tooltip` or `axis_tooltip_x` parameter of the `theme()`.
|
|
5855
|
+
- linetype : type of the line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
6022
5856
|
|
|
6023
5857
|
Examples
|
|
6024
5858
|
--------
|
|
@@ -6107,7 +5941,6 @@ def geom_rect(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
6107
5941
|
tooltips : `layer_tooltips`
|
|
6108
5942
|
Result of the call to the `layer_tooltips()` function.
|
|
6109
5943
|
Specify appearance, style and content.
|
|
6110
|
-
Set tooltips='none' to hide tooltips from the layer.
|
|
6111
5944
|
map : `GeoDataFrame` or `Geocoder`
|
|
6112
5945
|
Bounding boxes of geometries will be drawn.
|
|
6113
5946
|
map_join : str or list
|
|
@@ -6145,10 +5978,10 @@ def geom_rect(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
6145
5978
|
- ymin : y-axis value.
|
|
6146
5979
|
- ymax : y-axis value.
|
|
6147
5980
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
6148
|
-
- color (colour) : color of the geometry lines. For more info see
|
|
6149
|
-
- fill : fill color. For more info see
|
|
5981
|
+
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
5982
|
+
- fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
6150
5983
|
- size : lines width.
|
|
6151
|
-
- linetype : type of the line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see
|
|
5984
|
+
- linetype : type of the line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
6152
5985
|
|
|
6153
5986
|
----
|
|
6154
5987
|
|
|
@@ -6286,7 +6119,6 @@ def geom_segment(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
6286
6119
|
tooltips : `layer_tooltips`
|
|
6287
6120
|
Result of the call to the `layer_tooltips()` function.
|
|
6288
6121
|
Specify appearance, style and content.
|
|
6289
|
-
Set tooltips='none' to hide tooltips from the layer.
|
|
6290
6122
|
arrow : `FeatureSpec`
|
|
6291
6123
|
Specification for arrow head, as created by `arrow()` function.
|
|
6292
6124
|
flat : bool, default=False.
|
|
@@ -6320,9 +6152,9 @@ def geom_segment(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
6320
6152
|
- xend : x-axis value.
|
|
6321
6153
|
- yend : y-axis value.
|
|
6322
6154
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
6323
|
-
- color (colour) : color of the geometry lines. For more info see
|
|
6155
|
+
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
6324
6156
|
- size : line width.
|
|
6325
|
-
- linetype : type of the line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see
|
|
6157
|
+
- linetype : type of the line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
6326
6158
|
- 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).
|
|
6327
6159
|
- size_end : offset from the segment end coordinate (usually equal to the size of the point object from which the segment ends to avoid overlapping with it).
|
|
6328
6160
|
- stroke_start : offset from the segment start coordinate (usually equal to the stroke of the point object from which the segment starts to avoid overlapping with it).
|
|
@@ -6448,7 +6280,6 @@ def geom_curve(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
6448
6280
|
tooltips : `layer_tooltips`
|
|
6449
6281
|
Result of the call to the `layer_tooltips()` function.
|
|
6450
6282
|
Specify appearance, style and content.
|
|
6451
|
-
Set tooltips='none' to hide tooltips from the layer.
|
|
6452
6283
|
arrow : `FeatureSpec`
|
|
6453
6284
|
Specification for arrow head, as created by `arrow()` function.
|
|
6454
6285
|
curvature : float, default=0.5
|
|
@@ -6487,9 +6318,9 @@ def geom_curve(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
6487
6318
|
- xend : x-axis value.
|
|
6488
6319
|
- yend : y-axis value.
|
|
6489
6320
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
6490
|
-
- color (colour) : color of the geometry lines. For more info see
|
|
6321
|
+
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
6491
6322
|
- size : line width.
|
|
6492
|
-
- linetype : type of the line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see
|
|
6323
|
+
- linetype : type of the line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
6493
6324
|
- 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).
|
|
6494
6325
|
- size_end : offset from the end coordinate (usually equal to the size of the point object from which the curve ends to avoid overlapping with it).
|
|
6495
6326
|
- stroke_start : offset from the start coordinate (usually equal to the stroke of the point object from which the curve starts to avoid overlapping with it).
|
|
@@ -6601,7 +6432,6 @@ def geom_spoke(mapping=None, *, data=None, position=None, show_legend=None, inhe
|
|
|
6601
6432
|
tooltips : `layer_tooltips`
|
|
6602
6433
|
Result of the call to the `layer_tooltips()` function.
|
|
6603
6434
|
Specify appearance, style and content.
|
|
6604
|
-
Set tooltips='none' to hide tooltips from the layer.
|
|
6605
6435
|
arrow : `FeatureSpec`
|
|
6606
6436
|
Specification for arrow head, as created by `arrow()` function.
|
|
6607
6437
|
pivot : {'tail', 'middle', 'mid', 'tip'}, default='tail'
|
|
@@ -6628,9 +6458,9 @@ def geom_spoke(mapping=None, *, data=None, position=None, show_legend=None, inhe
|
|
|
6628
6458
|
- angle : slope's angle in radians.
|
|
6629
6459
|
- radius : segment length.
|
|
6630
6460
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
6631
|
-
- color (colour) : color of the line. For more info see
|
|
6461
|
+
- color (colour) : color of the line. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
6632
6462
|
- size : line width.
|
|
6633
|
-
- linetype : type of the line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see
|
|
6463
|
+
- linetype : type of the line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
6634
6464
|
|
|
6635
6465
|
Examples
|
|
6636
6466
|
--------
|
|
@@ -6752,7 +6582,6 @@ def geom_text(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
6752
6582
|
tooltips : `layer_tooltips`
|
|
6753
6583
|
Result of the call to the `layer_tooltips()` function.
|
|
6754
6584
|
Specify appearance, style and content.
|
|
6755
|
-
Set tooltips='none' to hide tooltips from the layer.
|
|
6756
6585
|
map : `GeoDataFrame` or `Geocoder`
|
|
6757
6586
|
Data containing coordinates of points.
|
|
6758
6587
|
map_join : str or list
|
|
@@ -6772,7 +6601,7 @@ def geom_text(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
6772
6601
|
- 'Num {}' -> 'Num 12.456789'
|
|
6773
6602
|
- 'TTL: {.2f}$' -> 'TTL: 12.45$'
|
|
6774
6603
|
|
|
6775
|
-
For more info see
|
|
6604
|
+
For more info see https://lets-plot.org/python/pages/formats.html.
|
|
6776
6605
|
na_text : str, default='n/a'
|
|
6777
6606
|
Text to show for missing values.
|
|
6778
6607
|
nudge_x : float
|
|
@@ -6806,11 +6635,11 @@ def geom_text(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
6806
6635
|
- x : x-axis value.
|
|
6807
6636
|
- y : y-axis value.
|
|
6808
6637
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
6809
|
-
- color (colour) : color of the geometry. For more info see
|
|
6638
|
+
- color (colour) : color of the geometry. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
6810
6639
|
- size : font size.
|
|
6811
6640
|
- label : text to add to plot.
|
|
6812
|
-
- family : font family. For more info see
|
|
6813
|
-
- fontface : font style and weight. For more info see
|
|
6641
|
+
- family : font family. For more info see https://lets-plot.org/python/pages/aesthetics.html#text.
|
|
6642
|
+
- fontface : font style and weight. For more info see https://lets-plot.org/python/pages/aesthetics.html#text.
|
|
6814
6643
|
- 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).
|
|
6815
6644
|
- 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).
|
|
6816
6645
|
- angle : text rotation angle in degrees.
|
|
@@ -6988,7 +6817,6 @@ def geom_label(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
6988
6817
|
tooltips : `layer_tooltips`
|
|
6989
6818
|
Result of the call to the `layer_tooltips()` function.
|
|
6990
6819
|
Specify appearance, style and content.
|
|
6991
|
-
Set tooltips='none' to hide tooltips from the layer.
|
|
6992
6820
|
map : `GeoDataFrame` or `Geocoder`
|
|
6993
6821
|
Data containing coordinates of points.
|
|
6994
6822
|
map_join : str or list
|
|
@@ -7008,7 +6836,7 @@ def geom_label(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
7008
6836
|
- 'Num {}' -> 'Num 12.456789'
|
|
7009
6837
|
- 'TTL: {.2f}$' -> 'TTL: 12.45$'
|
|
7010
6838
|
|
|
7011
|
-
For more info see
|
|
6839
|
+
For more info see https://lets-plot.org/python/pages/formats.html.
|
|
7012
6840
|
nudge_x : float
|
|
7013
6841
|
Horizontal adjustment to nudge labels by.
|
|
7014
6842
|
nudge_y : float
|
|
@@ -7052,12 +6880,12 @@ def geom_label(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
7052
6880
|
- x : x-axis value.
|
|
7053
6881
|
- y : y-axis value.
|
|
7054
6882
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
7055
|
-
- color (colour) : color of the geometry. For more info see
|
|
6883
|
+
- color (colour) : color of the geometry. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
7056
6884
|
- fill: background color of the label.
|
|
7057
6885
|
- size : font size.
|
|
7058
6886
|
- label : text to add to plot.
|
|
7059
|
-
- family : font family. For more info see
|
|
7060
|
-
- fontface : font style and weight. For more info see
|
|
6887
|
+
- family : font family. For more info see https://lets-plot.org/python/pages/aesthetics.html#text.
|
|
6888
|
+
- fontface : font style and weight. For more info see https://lets-plot.org/python/pages/aesthetics.html#text.
|
|
7061
6889
|
- 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).
|
|
7062
6890
|
- 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).
|
|
7063
6891
|
- angle : rotation angle in degrees.
|
|
@@ -7234,7 +7062,6 @@ def geom_pie(mapping=None, *, data=None, stat=None, position=None, show_legend=N
|
|
|
7234
7062
|
tooltips : `layer_tooltips`
|
|
7235
7063
|
Result of the call to the `layer_tooltips()` function.
|
|
7236
7064
|
Specify appearance, style and content.
|
|
7237
|
-
Set tooltips='none' to hide tooltips from the layer.
|
|
7238
7065
|
labels : `layer_labels`
|
|
7239
7066
|
Result of the call to the `layer_labels()` function.
|
|
7240
7067
|
Specify style and content of the annotations.
|
|
@@ -7295,7 +7122,7 @@ def geom_pie(mapping=None, *, data=None, stat=None, position=None, show_legend=N
|
|
|
7295
7122
|
- slice : values associated to pie sectors.
|
|
7296
7123
|
- explode : values to explode slices away from their center point, detaching it from the main pie. Accept values between 0 and 1.
|
|
7297
7124
|
- size : pie diameter.
|
|
7298
|
-
- fill : fill color. For more info see
|
|
7125
|
+
- fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
7299
7126
|
- alpha : transparency level of the pie. Accept values between 0 and 1.
|
|
7300
7127
|
- weight : used by 'count2d' stat to compute weighted sum instead of simple count.
|
|
7301
7128
|
- stroke : width of inner and outer arcs of pie sector.
|
|
@@ -7331,11 +7158,6 @@ def geom_pie(mapping=None, *, data=None, stat=None, position=None, show_legend=N
|
|
|
7331
7158
|
|
|
7332
7159
|
- map_join=['County_name', 'State_Name']
|
|
7333
7160
|
|
|
7334
|
-
----
|
|
7335
|
-
|
|
7336
|
-
To hide axis tooltips, set 'blank' or the result of `element_blank()`
|
|
7337
|
-
to the `axis_tooltip`, `axis_tooltip_x` or `axis_tooltip_y` parameter of the `theme()`.
|
|
7338
|
-
|
|
7339
7161
|
Examples
|
|
7340
7162
|
--------
|
|
7341
7163
|
.. jupyter-execute::
|
|
@@ -7485,7 +7307,6 @@ def geom_lollipop(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
7485
7307
|
tooltips : `layer_tooltips`
|
|
7486
7308
|
Result of the call to the `layer_tooltips()` function.
|
|
7487
7309
|
Specify appearance, style and content.
|
|
7488
|
-
Set tooltips='none' to hide tooltips from the layer.
|
|
7489
7310
|
orientation : str
|
|
7490
7311
|
Specify the axis that the layer's stat and geom should run along.
|
|
7491
7312
|
The default value (None) automatically determines the orientation based on the aesthetic mapping.
|
|
@@ -7521,24 +7342,19 @@ def geom_lollipop(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
7521
7342
|
- x : x-axis value.
|
|
7522
7343
|
- y : y-axis value.
|
|
7523
7344
|
- alpha : transparency level of the point. Accept values between 0 and 1.
|
|
7524
|
-
- color (colour) : color of the geometry. For more info see
|
|
7525
|
-
- fill : fill color. Is applied only to the points of shapes having inner area. For more info see
|
|
7526
|
-
- shape : shape of the point, an integer from 0 to 25. For more info see
|
|
7345
|
+
- color (colour) : color of the geometry. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
7346
|
+
- 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.
|
|
7347
|
+
- 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.
|
|
7527
7348
|
- size : size of the point.
|
|
7528
7349
|
- stroke : width of the shape border. Applied only to the shapes having border.
|
|
7529
7350
|
- linewidth : stick width.
|
|
7530
|
-
- linetype : type of the stick line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see
|
|
7351
|
+
- linetype : type of the stick line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
7531
7352
|
|
|
7532
7353
|
----
|
|
7533
7354
|
|
|
7534
7355
|
When `slope=0`, the baseline cannot be parallel to the lollipop sticks.
|
|
7535
7356
|
So, in this case, if `dir='h'`, the baseline will becomes vertical, as for infinity slope.
|
|
7536
7357
|
|
|
7537
|
-
----
|
|
7538
|
-
|
|
7539
|
-
To hide axis tooltips, set 'blank' or the result of `element_blank()`
|
|
7540
|
-
to the `axis_tooltip`, `axis_tooltip_x` or `axis_tooltip_y` parameter of the `theme()`.
|
|
7541
|
-
|
|
7542
7358
|
Examples
|
|
7543
7359
|
--------
|
|
7544
7360
|
.. jupyter-execute::
|
|
@@ -7641,7 +7457,6 @@ def geom_count(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
7641
7457
|
tooltips : `layer_tooltips`
|
|
7642
7458
|
Result of the call to the `layer_tooltips()` function.
|
|
7643
7459
|
Specify appearance, style and content.
|
|
7644
|
-
Set tooltips='none' to hide tooltips from the layer.
|
|
7645
7460
|
color_by : {'fill', 'color', 'paint_a', 'paint_b', 'paint_c'}, default='color'
|
|
7646
7461
|
Define the color aesthetic for the geometry.
|
|
7647
7462
|
fill_by : {'fill', 'color', 'paint_a', 'paint_b', 'paint_c'}, default='fill'
|
|
@@ -7670,17 +7485,12 @@ def geom_count(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
7670
7485
|
- x : x-axis coordinates.
|
|
7671
7486
|
- y : y-axis coordinates.
|
|
7672
7487
|
- alpha : transparency level of the point. Accept values between 0 and 1.
|
|
7673
|
-
- color (colour) : color of the geometry. For more info see
|
|
7674
|
-
- fill : fill color. Is applied only to the points of shapes having inner area. For more info see
|
|
7675
|
-
- shape : shape of the point, an integer from 0 to 25. For more info see
|
|
7488
|
+
- color (colour) : color of the geometry. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
7489
|
+
- 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.
|
|
7490
|
+
- 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.
|
|
7676
7491
|
- size : size of the point.
|
|
7677
7492
|
- stroke : width of the shape border. Applied only to the shapes having border.
|
|
7678
7493
|
|
|
7679
|
-
----
|
|
7680
|
-
|
|
7681
|
-
To hide axis tooltips, set 'blank' or the result of `element_blank()`
|
|
7682
|
-
to the `axis_tooltip`, `axis_tooltip_x` or `axis_tooltip_y` parameter of the `theme()`.
|
|
7683
|
-
|
|
7684
7494
|
Examples
|
|
7685
7495
|
--------
|
|
7686
7496
|
.. jupyter-execute::
|
|
@@ -7807,9 +7617,8 @@ def geom_blank(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
7807
7617
|
|
|
7808
7618
|
- x : x-axis value.
|
|
7809
7619
|
- y : y-axis value.
|
|
7810
|
-
- color (colour) : color of the geometry. For more info see
|
|
7620
|
+
- color (colour) : color of the geometry. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
7811
7621
|
- fill : fill color.
|
|
7812
|
-
|
|
7813
7622
|
----
|
|
7814
7623
|
|
|
7815
7624
|
The `data` and `map` parameters of `GeoDataFrame` type support shapes `Point` and `MultiPoint`.
|