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