lets-plot 4.4.1__cp311-cp311-win_amd64.whl → 4.5.0__cp311-cp311-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of lets-plot might be problematic. Click here for more details.
- lets_plot/__init__.py +1 -1
- lets_plot/_version.py +1 -1
- lets_plot/bistro/corr.py +6 -1
- lets_plot/bistro/joint.py +7 -2
- lets_plot/bistro/qq.py +30 -8
- lets_plot/bistro/residual.py +6 -1
- lets_plot/bistro/waterfall.py +12 -7
- lets_plot/export/ggsave_.py +21 -1
- lets_plot/package_data/lets-plot.min.js +1 -1
- lets_plot/plot/__init__.py +3 -1
- lets_plot/plot/annotation.py +1 -1
- lets_plot/plot/core.py +11 -5
- lets_plot/plot/expand_limits_.py +78 -0
- lets_plot/plot/facet.py +9 -5
- lets_plot/plot/geom.py +691 -183
- lets_plot/plot/geom_function_.py +13 -3
- lets_plot/plot/geom_imshow_.py +1 -0
- lets_plot/plot/geom_livemap_.py +32 -0
- lets_plot/plot/gggrid_.py +5 -4
- lets_plot/plot/ggtb_.py +46 -1
- lets_plot/plot/label.py +2 -2
- lets_plot/plot/sampling.py +14 -4
- lets_plot/plot/scale.py +40 -40
- lets_plot/plot/scale_colormap_mpl.py +3 -3
- lets_plot/plot/scale_identity_.py +11 -19
- lets_plot/plot/scale_position.py +14 -14
- lets_plot/plot/stat.py +44 -4
- lets_plot/plot/subplots.py +1 -1
- lets_plot/plot/theme_.py +93 -14
- lets_plot/plot/tooltip.py +1 -1
- lets_plot/tilesets.py +4 -69
- {lets_plot-4.4.1.dist-info → lets_plot-4.5.0.dist-info}/METADATA +34 -18
- {lets_plot-4.4.1.dist-info → lets_plot-4.5.0.dist-info}/RECORD +37 -36
- {lets_plot-4.4.1.dist-info → lets_plot-4.5.0.dist-info}/WHEEL +1 -1
- lets_plot_kotlin_bridge.cp311-win_amd64.pyd +0 -0
- {lets_plot-4.4.1.dist-info → lets_plot-4.5.0.dist-info}/LICENSE +0 -0
- {lets_plot-4.4.1.dist-info → lets_plot-4.5.0.dist-info}/top_level.txt +0 -0
lets_plot/plot/geom.py
CHANGED
|
@@ -27,10 +27,12 @@ __all__ = ['geom_point', 'geom_path', 'geom_line',
|
|
|
27
27
|
'geom_freqpoly', 'geom_step', 'geom_rect',
|
|
28
28
|
'geom_segment', 'geom_curve', 'geom_spoke',
|
|
29
29
|
'geom_text', 'geom_label', 'geom_pie', 'geom_lollipop',
|
|
30
|
-
'geom_count'
|
|
30
|
+
'geom_count',
|
|
31
|
+
'geom_blank']
|
|
31
32
|
|
|
32
33
|
|
|
33
|
-
def geom_point(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
34
|
+
def geom_point(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
35
|
+
manual_key=None, sampling=None,
|
|
34
36
|
tooltips=None,
|
|
35
37
|
map=None, map_join=None, use_crs=None,
|
|
36
38
|
size_unit=None,
|
|
@@ -62,6 +64,8 @@ def geom_point(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
62
64
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
63
65
|
show_legend : bool, default=True
|
|
64
66
|
False - do not show legend for this layer.
|
|
67
|
+
inherit_aes : bool, default=True
|
|
68
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
65
69
|
manual_key : str or `layer_key`
|
|
66
70
|
The key to show in the manual legend.
|
|
67
71
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -71,6 +75,7 @@ def geom_point(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
71
75
|
tooltips : `layer_tooltips`
|
|
72
76
|
Result of the call to the `layer_tooltips()` function.
|
|
73
77
|
Specify appearance, style and content.
|
|
78
|
+
Set tooltips='none' to hide tooltips from the layer.
|
|
74
79
|
map : `GeoDataFrame` or `Geocoder`
|
|
75
80
|
Data containing coordinates of points.
|
|
76
81
|
map_join : str or list
|
|
@@ -112,9 +117,9 @@ def geom_point(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
112
117
|
- x : x-axis value.
|
|
113
118
|
- y : y-axis value.
|
|
114
119
|
- alpha : transparency level of the point. Accept values between 0 and 1.
|
|
115
|
-
- color (colour) : color of the geometry. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
116
|
-
- fill : fill color. Is applied only to the points of shapes having inner area. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
117
|
-
- 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>`__.
|
|
118
123
|
- angle : rotation angle of the point shape, in degrees.
|
|
119
124
|
- size : size of the point.
|
|
120
125
|
- stroke : width of the shape border. Applied only to the shapes having border.
|
|
@@ -149,6 +154,11 @@ def geom_point(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
149
154
|
|
|
150
155
|
- map_join=['County_name', 'State_Name']
|
|
151
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
|
+
|
|
152
162
|
Examples
|
|
153
163
|
--------
|
|
154
164
|
.. jupyter-execute::
|
|
@@ -204,6 +214,7 @@ def geom_point(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
204
214
|
stat=stat,
|
|
205
215
|
position=position,
|
|
206
216
|
show_legend=show_legend,
|
|
217
|
+
inherit_aes=inherit_aes,
|
|
207
218
|
manual_key=manual_key,
|
|
208
219
|
sampling=sampling,
|
|
209
220
|
tooltips=tooltips,
|
|
@@ -213,7 +224,8 @@ def geom_point(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
213
224
|
**other_args)
|
|
214
225
|
|
|
215
226
|
|
|
216
|
-
def geom_path(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
227
|
+
def geom_path(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
228
|
+
manual_key=None, sampling=None,
|
|
217
229
|
tooltips=None,
|
|
218
230
|
map=None, map_join=None, use_crs=None,
|
|
219
231
|
flat=None, geodesic=None,
|
|
@@ -244,6 +256,8 @@ def geom_path(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
244
256
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
245
257
|
show_legend : bool, default=True
|
|
246
258
|
False - do not show legend for this layer.
|
|
259
|
+
inherit_aes : bool, default=True
|
|
260
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
247
261
|
manual_key : str or `layer_key`
|
|
248
262
|
The key to show in the manual legend.
|
|
249
263
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -253,6 +267,7 @@ def geom_path(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
253
267
|
tooltips : `layer_tooltips`
|
|
254
268
|
Result of the call to the `layer_tooltips()` function.
|
|
255
269
|
Specify appearance, style and content.
|
|
270
|
+
Set tooltips='none' to hide tooltips from the layer.
|
|
256
271
|
map : `GeoDataFrame`
|
|
257
272
|
Data containing coordinates of lines.
|
|
258
273
|
map_join : str or list
|
|
@@ -292,8 +307,8 @@ def geom_path(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
292
307
|
- x : x-axis value.
|
|
293
308
|
- y : y-axis value.
|
|
294
309
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
295
|
-
- color (colour) : color of the geometry. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
296
|
-
- linetype : type of the line.
|
|
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>`__.
|
|
297
312
|
- size : line width.
|
|
298
313
|
|
|
299
314
|
----
|
|
@@ -387,6 +402,7 @@ def geom_path(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
387
402
|
stat=stat,
|
|
388
403
|
position=position,
|
|
389
404
|
show_legend=show_legend,
|
|
405
|
+
inherit_aes=inherit_aes,
|
|
390
406
|
manual_key=manual_key,
|
|
391
407
|
sampling=sampling,
|
|
392
408
|
tooltips=tooltips,
|
|
@@ -396,7 +412,8 @@ def geom_path(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
396
412
|
**other_args)
|
|
397
413
|
|
|
398
414
|
|
|
399
|
-
def geom_line(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
415
|
+
def geom_line(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
416
|
+
manual_key=None, sampling=None,
|
|
400
417
|
tooltips=None,
|
|
401
418
|
color_by=None,
|
|
402
419
|
**other_args):
|
|
@@ -427,6 +444,8 @@ def geom_line(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
427
444
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
428
445
|
show_legend : bool, default=True
|
|
429
446
|
False - do not show legend for this layer.
|
|
447
|
+
inherit_aes : bool, default=True
|
|
448
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
430
449
|
manual_key : str or `layer_key`
|
|
431
450
|
The key to show in the manual legend.
|
|
432
451
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -436,6 +455,7 @@ def geom_line(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
436
455
|
tooltips : `layer_tooltips`
|
|
437
456
|
Result of the call to the `layer_tooltips()` function.
|
|
438
457
|
Specify appearance, style and content.
|
|
458
|
+
Set tooltips='none' to hide tooltips from the layer.
|
|
439
459
|
color_by : {'fill', 'color', 'paint_a', 'paint_b', 'paint_c'}, default='color'
|
|
440
460
|
Define the color aesthetic for the geometry.
|
|
441
461
|
other_args
|
|
@@ -459,10 +479,15 @@ def geom_line(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
459
479
|
- x : x-axis value.
|
|
460
480
|
- y : y-axis value.
|
|
461
481
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
462
|
-
- color (colour) : color of the geometry. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
463
|
-
- linetype : type of the line.
|
|
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>`__.
|
|
464
484
|
- size : line width.
|
|
465
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
|
+
|
|
466
491
|
Examples
|
|
467
492
|
--------
|
|
468
493
|
.. jupyter-execute::
|
|
@@ -503,6 +528,7 @@ def geom_line(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
503
528
|
stat=stat,
|
|
504
529
|
position=position,
|
|
505
530
|
show_legend=show_legend,
|
|
531
|
+
inherit_aes=inherit_aes,
|
|
506
532
|
manual_key=manual_key,
|
|
507
533
|
sampling=sampling,
|
|
508
534
|
tooltips=tooltips,
|
|
@@ -510,7 +536,8 @@ def geom_line(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
510
536
|
**other_args)
|
|
511
537
|
|
|
512
538
|
|
|
513
|
-
def geom_smooth(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
539
|
+
def geom_smooth(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
540
|
+
manual_key=None, sampling=None,
|
|
514
541
|
tooltips=None,
|
|
515
542
|
orientation=None,
|
|
516
543
|
method=None,
|
|
@@ -548,6 +575,8 @@ def geom_smooth(mapping=None, *, data=None, stat=None, position=None, show_legen
|
|
|
548
575
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
549
576
|
show_legend : bool, default=True
|
|
550
577
|
False - do not show legend for this layer.
|
|
578
|
+
inherit_aes : bool, default=True
|
|
579
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
551
580
|
manual_key : str or `layer_key`
|
|
552
581
|
The key to show in the manual legend.
|
|
553
582
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -557,6 +586,7 @@ def geom_smooth(mapping=None, *, data=None, stat=None, position=None, show_legen
|
|
|
557
586
|
tooltips : `layer_tooltips`
|
|
558
587
|
Result of the call to the `layer_tooltips()` function.
|
|
559
588
|
Specify appearance, style and content.
|
|
589
|
+
Set tooltips='none' to hide tooltips from the layer.
|
|
560
590
|
orientation : str, default='x'
|
|
561
591
|
Specify the axis that the layer's stat and geom should run along.
|
|
562
592
|
Possible values: 'x', 'y'.
|
|
@@ -611,11 +641,16 @@ def geom_smooth(mapping=None, *, data=None, stat=None, position=None, show_legen
|
|
|
611
641
|
- x : x-axis value.
|
|
612
642
|
- y : y-axis value.
|
|
613
643
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
614
|
-
- color (colour) : color of the geometry. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
615
|
-
- fill : fill color for the confidence interval around the line. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
616
|
-
- linetype : type of the line of conditional mean line.
|
|
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>`__.
|
|
617
647
|
- size : line width. Define line width for conditional mean and confidence bounds lines.
|
|
618
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
|
+
|
|
619
654
|
Examples
|
|
620
655
|
--------
|
|
621
656
|
.. jupyter-execute::
|
|
@@ -677,6 +712,7 @@ def geom_smooth(mapping=None, *, data=None, stat=None, position=None, show_legen
|
|
|
677
712
|
stat=stat,
|
|
678
713
|
position=position,
|
|
679
714
|
show_legend=show_legend,
|
|
715
|
+
inherit_aes=inherit_aes,
|
|
680
716
|
manual_key=manual_key,
|
|
681
717
|
sampling=sampling,
|
|
682
718
|
tooltips=tooltips,
|
|
@@ -693,7 +729,8 @@ def geom_smooth(mapping=None, *, data=None, stat=None, position=None, show_legen
|
|
|
693
729
|
**other_args)
|
|
694
730
|
|
|
695
731
|
|
|
696
|
-
def geom_bar(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
732
|
+
def geom_bar(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
733
|
+
manual_key=None, sampling=None,
|
|
697
734
|
tooltips=None, labels=None,
|
|
698
735
|
orientation=None,
|
|
699
736
|
color_by=None, fill_by=None,
|
|
@@ -724,6 +761,8 @@ def geom_bar(mapping=None, *, data=None, stat=None, position=None, show_legend=N
|
|
|
724
761
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
725
762
|
show_legend : bool, default=True
|
|
726
763
|
False - do not show legend for this layer.
|
|
764
|
+
inherit_aes : bool, default=True
|
|
765
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
727
766
|
manual_key : str or `layer_key`
|
|
728
767
|
The key to show in the manual legend.
|
|
729
768
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -733,6 +772,7 @@ def geom_bar(mapping=None, *, data=None, stat=None, position=None, show_legend=N
|
|
|
733
772
|
tooltips : `layer_tooltips`
|
|
734
773
|
Result of the call to the `layer_tooltips()` function.
|
|
735
774
|
Specify appearance, style and content.
|
|
775
|
+
Set tooltips='none' to hide tooltips from the layer.
|
|
736
776
|
labels : `layer_labels`
|
|
737
777
|
Result of the call to the `layer_labels()` function.
|
|
738
778
|
Specify style and content of the annotations.
|
|
@@ -776,11 +816,16 @@ def geom_bar(mapping=None, *, data=None, stat=None, position=None, show_legend=N
|
|
|
776
816
|
- x : x-axis value (this value will produce cases or bins for bars).
|
|
777
817
|
- y : y-axis value (this value will be used to multiply the case's or bin's counts).
|
|
778
818
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
779
|
-
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
780
|
-
- fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
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>`__.
|
|
781
821
|
- size : line width. Define bar line width.
|
|
782
822
|
- weight : used by 'count' stat to compute weighted sum instead of simple count.
|
|
783
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
|
+
|
|
784
829
|
Examples
|
|
785
830
|
--------
|
|
786
831
|
.. jupyter-execute::
|
|
@@ -838,6 +883,7 @@ def geom_bar(mapping=None, *, data=None, stat=None, position=None, show_legend=N
|
|
|
838
883
|
stat=stat,
|
|
839
884
|
position=position,
|
|
840
885
|
show_legend=show_legend,
|
|
886
|
+
inherit_aes=inherit_aes,
|
|
841
887
|
manual_key=manual_key,
|
|
842
888
|
sampling=sampling,
|
|
843
889
|
tooltips=tooltips,
|
|
@@ -847,8 +893,8 @@ def geom_bar(mapping=None, *, data=None, stat=None, position=None, show_legend=N
|
|
|
847
893
|
**other_args)
|
|
848
894
|
|
|
849
895
|
|
|
850
|
-
def geom_histogram(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
851
|
-
sampling=None, threshold=None,
|
|
896
|
+
def geom_histogram(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
897
|
+
manual_key=None, sampling=None, threshold=None,
|
|
852
898
|
tooltips=None, labels=None,
|
|
853
899
|
orientation=None,
|
|
854
900
|
bins=None,
|
|
@@ -883,6 +929,8 @@ def geom_histogram(mapping=None, *, data=None, stat=None, position=None, show_le
|
|
|
883
929
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
884
930
|
show_legend : bool, default=True
|
|
885
931
|
False - do not show legend for this layer.
|
|
932
|
+
inherit_aes : bool, default=True
|
|
933
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
886
934
|
manual_key : str or `layer_key`
|
|
887
935
|
The key to show in the manual legend.
|
|
888
936
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -895,6 +943,7 @@ def geom_histogram(mapping=None, *, data=None, stat=None, position=None, show_le
|
|
|
895
943
|
tooltips : `layer_tooltips`
|
|
896
944
|
Result of the call to the `layer_tooltips()` function.
|
|
897
945
|
Specify appearance, style and content.
|
|
946
|
+
Set tooltips='none' to hide tooltips from the layer.
|
|
898
947
|
labels : `layer_labels`
|
|
899
948
|
Result of the call to the `layer_labels()` function.
|
|
900
949
|
Specify style and content of the annotations.
|
|
@@ -944,11 +993,16 @@ def geom_histogram(mapping=None, *, data=None, stat=None, position=None, show_le
|
|
|
944
993
|
- x : x-axis value (this value will produce cases or bins for bars).
|
|
945
994
|
- y : y-axis value, default: '..count..'. Alternatively: '..density..'.
|
|
946
995
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
947
|
-
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
948
|
-
- fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
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>`__.
|
|
949
998
|
- size : line width.
|
|
950
999
|
- weight : used by 'bin' stat to compute weighted sum instead of simple count.
|
|
951
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
|
+
|
|
952
1006
|
Examples
|
|
953
1007
|
--------
|
|
954
1008
|
.. jupyter-execute::
|
|
@@ -1000,6 +1054,7 @@ def geom_histogram(mapping=None, *, data=None, stat=None, position=None, show_le
|
|
|
1000
1054
|
stat=stat,
|
|
1001
1055
|
position=position,
|
|
1002
1056
|
show_legend=show_legend,
|
|
1057
|
+
inherit_aes=inherit_aes,
|
|
1003
1058
|
manual_key=manual_key,
|
|
1004
1059
|
sampling=sampling,
|
|
1005
1060
|
threshold=threshold,
|
|
@@ -1014,7 +1069,8 @@ def geom_histogram(mapping=None, *, data=None, stat=None, position=None, show_le
|
|
|
1014
1069
|
**other_args)
|
|
1015
1070
|
|
|
1016
1071
|
|
|
1017
|
-
def geom_dotplot(mapping=None, *, data=None, show_legend=None,
|
|
1072
|
+
def geom_dotplot(mapping=None, *, data=None, show_legend=None, inherit_aes=None,
|
|
1073
|
+
manual_key=None, sampling=None, tooltips=None,
|
|
1018
1074
|
binwidth=None,
|
|
1019
1075
|
bins=None,
|
|
1020
1076
|
method=None,
|
|
@@ -1041,6 +1097,8 @@ def geom_dotplot(mapping=None, *, data=None, show_legend=None, manual_key=None,
|
|
|
1041
1097
|
is inherited from the plot data as specified in the call to ggplot.
|
|
1042
1098
|
show_legend : bool, default=True
|
|
1043
1099
|
False - do not show legend for this layer.
|
|
1100
|
+
inherit_aes : bool, default=True
|
|
1101
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
1044
1102
|
manual_key : str or `layer_key`
|
|
1045
1103
|
The key to show in the manual legend.
|
|
1046
1104
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -1050,6 +1108,7 @@ def geom_dotplot(mapping=None, *, data=None, show_legend=None, manual_key=None,
|
|
|
1050
1108
|
tooltips : `layer_tooltips`
|
|
1051
1109
|
Result of the call to the `layer_tooltips()` function.
|
|
1052
1110
|
Specify appearance, style and content.
|
|
1111
|
+
Set tooltips='none' to hide tooltips from the layer.
|
|
1053
1112
|
binwidth : float
|
|
1054
1113
|
When method is 'dotdensity', this specifies maximum bin width.
|
|
1055
1114
|
When method is 'histodot', this specifies bin width.
|
|
@@ -1101,10 +1160,15 @@ def geom_dotplot(mapping=None, *, data=None, show_legend=None, manual_key=None,
|
|
|
1101
1160
|
|
|
1102
1161
|
- x : x-axis value.
|
|
1103
1162
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
1104
|
-
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
1105
|
-
- fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
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>`__.
|
|
1106
1165
|
- stroke : width of the dot border.
|
|
1107
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
|
+
|
|
1108
1172
|
Examples
|
|
1109
1173
|
--------
|
|
1110
1174
|
.. jupyter-execute::
|
|
@@ -1159,6 +1223,7 @@ def geom_dotplot(mapping=None, *, data=None, show_legend=None, manual_key=None,
|
|
|
1159
1223
|
stat=None,
|
|
1160
1224
|
position=None,
|
|
1161
1225
|
show_legend=show_legend,
|
|
1226
|
+
inherit_aes=inherit_aes,
|
|
1162
1227
|
manual_key=manual_key,
|
|
1163
1228
|
sampling=sampling,
|
|
1164
1229
|
tooltips=tooltips,
|
|
@@ -1175,7 +1240,8 @@ def geom_dotplot(mapping=None, *, data=None, show_legend=None, manual_key=None,
|
|
|
1175
1240
|
**other_args)
|
|
1176
1241
|
|
|
1177
1242
|
|
|
1178
|
-
def geom_bin2d(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
1243
|
+
def geom_bin2d(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
1244
|
+
manual_key=None, sampling=None,
|
|
1179
1245
|
tooltips=None,
|
|
1180
1246
|
bins=None,
|
|
1181
1247
|
binwidth=None,
|
|
@@ -1207,6 +1273,8 @@ def geom_bin2d(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
1207
1273
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
1208
1274
|
show_legend : bool, default=True
|
|
1209
1275
|
False - do not show legend for this layer.
|
|
1276
|
+
inherit_aes : bool, default=True
|
|
1277
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
1210
1278
|
manual_key : str or `layer_key`
|
|
1211
1279
|
The key to show in the manual legend.
|
|
1212
1280
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -1216,6 +1284,7 @@ def geom_bin2d(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
1216
1284
|
tooltips : `layer_tooltips`
|
|
1217
1285
|
Result of the call to the `layer_tooltips()` function.
|
|
1218
1286
|
Specify appearance, style and content.
|
|
1287
|
+
Set tooltips='none' to hide tooltips from the layer.
|
|
1219
1288
|
bins : list of int, default=[30, 30]
|
|
1220
1289
|
Number of bins in both directions, vertical and horizontal. Overridden by `binwidth`.
|
|
1221
1290
|
binwidth : list of float
|
|
@@ -1250,11 +1319,16 @@ def geom_bin2d(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
1250
1319
|
- x : x-axis value.
|
|
1251
1320
|
- y : y-axis value.
|
|
1252
1321
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
1253
|
-
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
1254
|
-
- fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
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>`__.
|
|
1255
1324
|
- size : line width, default=0 (i.e. tiles outline initially is not visible).
|
|
1256
1325
|
- weight : used by 'bin' stat to compute weighted sum instead of simple count.
|
|
1257
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
|
+
|
|
1258
1332
|
Examples
|
|
1259
1333
|
--------
|
|
1260
1334
|
.. jupyter-execute::
|
|
@@ -1335,6 +1409,7 @@ def geom_bin2d(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
1335
1409
|
stat=stat,
|
|
1336
1410
|
position=position,
|
|
1337
1411
|
show_legend=show_legend,
|
|
1412
|
+
inherit_aes=inherit_aes,
|
|
1338
1413
|
manual_key=manual_key,
|
|
1339
1414
|
sampling=sampling,
|
|
1340
1415
|
tooltips=tooltips,
|
|
@@ -1345,7 +1420,8 @@ def geom_bin2d(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
1345
1420
|
**other_args)
|
|
1346
1421
|
|
|
1347
1422
|
|
|
1348
|
-
def geom_tile(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
1423
|
+
def geom_tile(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
1424
|
+
manual_key=None, sampling=None,
|
|
1349
1425
|
tooltips=None,
|
|
1350
1426
|
color_by=None, fill_by=None,
|
|
1351
1427
|
**other_args):
|
|
@@ -1369,6 +1445,8 @@ def geom_tile(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
1369
1445
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
1370
1446
|
show_legend : bool, default=True
|
|
1371
1447
|
False - do not show legend for this layer.
|
|
1448
|
+
inherit_aes : bool, default=True
|
|
1449
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
1372
1450
|
manual_key : str or `layer_key`
|
|
1373
1451
|
The key to show in the manual legend.
|
|
1374
1452
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -1378,6 +1456,7 @@ def geom_tile(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
1378
1456
|
tooltips : `layer_tooltips`
|
|
1379
1457
|
Result of the call to the `layer_tooltips()` function.
|
|
1380
1458
|
Specify appearance, style and content.
|
|
1459
|
+
Set tooltips='none' to hide tooltips from the layer.
|
|
1381
1460
|
color_by : {'fill', 'color', 'paint_a', 'paint_b', 'paint_c'}, default='color'
|
|
1382
1461
|
Define the color aesthetic for the geometry.
|
|
1383
1462
|
fill_by : {'fill', 'color', 'paint_a', 'paint_b', 'paint_c'}, default='fill'
|
|
@@ -1400,12 +1479,17 @@ def geom_tile(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
1400
1479
|
- x : x-axis coordinates of the center of rectangles.
|
|
1401
1480
|
- y : y-axis coordinates of the center of rectangles.
|
|
1402
1481
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
1403
|
-
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
1404
|
-
- fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
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>`__.
|
|
1405
1484
|
- size : line width, default=0 (i.e. tiles outline initially is not visible).
|
|
1406
1485
|
- width : width of a tile. Typically range between 0 and 1. Values that are greater than 1 lead to overlapping of the tiles.
|
|
1407
1486
|
- height : height of a tile. Typically range between 0 and 1. Values that are greater than 1 lead to overlapping of the tiles.
|
|
1408
|
-
- linetype : type of the line of tile's border.
|
|
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()`.
|
|
1409
1493
|
|
|
1410
1494
|
Examples
|
|
1411
1495
|
--------
|
|
@@ -1480,6 +1564,7 @@ def geom_tile(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
1480
1564
|
stat=stat,
|
|
1481
1565
|
position=position,
|
|
1482
1566
|
show_legend=show_legend,
|
|
1567
|
+
inherit_aes=inherit_aes,
|
|
1483
1568
|
manual_key=manual_key,
|
|
1484
1569
|
sampling=sampling,
|
|
1485
1570
|
tooltips=tooltips,
|
|
@@ -1487,7 +1572,8 @@ def geom_tile(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
1487
1572
|
**other_args)
|
|
1488
1573
|
|
|
1489
1574
|
|
|
1490
|
-
def geom_raster(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
1575
|
+
def geom_raster(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
1576
|
+
manual_key=None, sampling=None,
|
|
1491
1577
|
fill_by=None,
|
|
1492
1578
|
**other_args):
|
|
1493
1579
|
"""
|
|
@@ -1512,6 +1598,8 @@ def geom_raster(mapping=None, *, data=None, stat=None, position=None, show_legen
|
|
|
1512
1598
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
1513
1599
|
show_legend : bool, default=True
|
|
1514
1600
|
False - do not show legend for this layer.
|
|
1601
|
+
inherit_aes : bool, default=True
|
|
1602
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
1515
1603
|
manual_key : str or `layer_key`
|
|
1516
1604
|
The key to show in the manual legend.
|
|
1517
1605
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -1538,7 +1626,7 @@ def geom_raster(mapping=None, *, data=None, stat=None, position=None, show_legen
|
|
|
1538
1626
|
- x : x-axis coordinates of the center of rectangles.
|
|
1539
1627
|
- y : y-axis coordinates of the center of rectangles.
|
|
1540
1628
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
1541
|
-
- 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>`__.
|
|
1542
1630
|
|
|
1543
1631
|
Examples
|
|
1544
1632
|
--------
|
|
@@ -1572,13 +1660,15 @@ def geom_raster(mapping=None, *, data=None, stat=None, position=None, show_legen
|
|
|
1572
1660
|
stat=stat,
|
|
1573
1661
|
position=position,
|
|
1574
1662
|
show_legend=show_legend,
|
|
1663
|
+
inherit_aes=inherit_aes,
|
|
1575
1664
|
manual_key=manual_key,
|
|
1576
1665
|
sampling=sampling,
|
|
1577
1666
|
fill_by=fill_by,
|
|
1578
1667
|
**other_args)
|
|
1579
1668
|
|
|
1580
1669
|
|
|
1581
|
-
def geom_errorbar(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
1670
|
+
def geom_errorbar(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
1671
|
+
manual_key=None,
|
|
1582
1672
|
sampling=None, tooltips=None,
|
|
1583
1673
|
color_by=None,
|
|
1584
1674
|
**other_args):
|
|
@@ -1607,6 +1697,8 @@ def geom_errorbar(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
1607
1697
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
1608
1698
|
show_legend : bool, default=True
|
|
1609
1699
|
False - do not show legend for this layer.
|
|
1700
|
+
inherit_aes : bool, default=True
|
|
1701
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
1610
1702
|
manual_key : str or `layer_key`
|
|
1611
1703
|
The key to show in the manual legend.
|
|
1612
1704
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -1616,6 +1708,7 @@ def geom_errorbar(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
1616
1708
|
tooltips : `layer_tooltips`
|
|
1617
1709
|
Result of the call to the `layer_tooltips()` function.
|
|
1618
1710
|
Specify appearance, style and content.
|
|
1711
|
+
Set tooltips='none' to hide tooltips from the layer.
|
|
1619
1712
|
color_by : {'fill', 'color', 'paint_a', 'paint_b', 'paint_c'}, default='color'
|
|
1620
1713
|
Define the color aesthetic for the geometry.
|
|
1621
1714
|
other_args
|
|
@@ -1640,10 +1733,15 @@ def geom_errorbar(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
1640
1733
|
- ymin or xmin: lower bound for vertical or horizontal error bar, respectively.
|
|
1641
1734
|
- ymax or xmax: upper bound for vertical or horizontal error bar, respectively.
|
|
1642
1735
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
1643
|
-
- 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>`__.
|
|
1644
1737
|
- size : line width. Define bar line width.
|
|
1645
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.
|
|
1646
|
-
- linetype : type of the line.
|
|
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()`.
|
|
1647
1745
|
|
|
1648
1746
|
Examples
|
|
1649
1747
|
--------
|
|
@@ -1708,6 +1806,7 @@ def geom_errorbar(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
1708
1806
|
stat=stat,
|
|
1709
1807
|
position=position,
|
|
1710
1808
|
show_legend=show_legend,
|
|
1809
|
+
inherit_aes=inherit_aes,
|
|
1711
1810
|
manual_key=manual_key,
|
|
1712
1811
|
sampling=sampling,
|
|
1713
1812
|
tooltips=tooltips,
|
|
@@ -1715,8 +1814,8 @@ def geom_errorbar(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
1715
1814
|
**other_args)
|
|
1716
1815
|
|
|
1717
1816
|
|
|
1718
|
-
def geom_crossbar(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
1719
|
-
sampling=None, tooltips=None,
|
|
1817
|
+
def geom_crossbar(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
1818
|
+
manual_key=None, sampling=None, tooltips=None,
|
|
1720
1819
|
fatten=None,
|
|
1721
1820
|
color_by=None, fill_by=None,
|
|
1722
1821
|
**other_args):
|
|
@@ -1745,6 +1844,8 @@ def geom_crossbar(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
1745
1844
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
1746
1845
|
show_legend : bool, default=True
|
|
1747
1846
|
False - do not show legend for this layer.
|
|
1847
|
+
inherit_aes : bool, default=True
|
|
1848
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
1748
1849
|
manual_key : str or `layer_key`
|
|
1749
1850
|
The key to show in the manual legend.
|
|
1750
1851
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -1754,6 +1855,7 @@ def geom_crossbar(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
1754
1855
|
tooltips : `layer_tooltips`
|
|
1755
1856
|
Result of the call to the `layer_tooltips()` function.
|
|
1756
1857
|
Specify appearance, style and content.
|
|
1858
|
+
Set tooltips='none' to hide tooltips from the layer.
|
|
1757
1859
|
fatten : float, default=2.5
|
|
1758
1860
|
A multiplicative factor applied to size of the middle bar.
|
|
1759
1861
|
color_by : {'fill', 'color', 'paint_a', 'paint_b', 'paint_c'}, default='color'
|
|
@@ -1784,11 +1886,16 @@ def geom_crossbar(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
1784
1886
|
- ymin or xmin: lower bound for vertical or horizontal bar, respectively.
|
|
1785
1887
|
- ymax or xmax: upper bound for vertical or horizontal bar, respectively.
|
|
1786
1888
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
1787
|
-
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
1788
|
-
- fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
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>`__.
|
|
1789
1891
|
- size : lines width.
|
|
1790
1892
|
- width : width of a bar. Typically range between 0 and 1. Values that are greater than 1 lead to overlapping of the bars.
|
|
1791
|
-
- linetype : type of the line.
|
|
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()`.
|
|
1792
1899
|
|
|
1793
1900
|
Examples
|
|
1794
1901
|
--------
|
|
@@ -1842,6 +1949,7 @@ def geom_crossbar(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
1842
1949
|
stat=stat,
|
|
1843
1950
|
position=position,
|
|
1844
1951
|
show_legend=show_legend,
|
|
1952
|
+
inherit_aes=inherit_aes,
|
|
1845
1953
|
manual_key=manual_key,
|
|
1846
1954
|
sampling=sampling,
|
|
1847
1955
|
tooltips=tooltips,
|
|
@@ -1850,9 +1958,8 @@ def geom_crossbar(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
1850
1958
|
**other_args)
|
|
1851
1959
|
|
|
1852
1960
|
|
|
1853
|
-
def geom_pointrange(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
1854
|
-
sampling=None,
|
|
1855
|
-
tooltips=None,
|
|
1961
|
+
def geom_pointrange(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
1962
|
+
manual_key=None, sampling=None, tooltips=None,
|
|
1856
1963
|
fatten=None,
|
|
1857
1964
|
color_by=None, fill_by=None,
|
|
1858
1965
|
**other_args):
|
|
@@ -1881,6 +1988,8 @@ def geom_pointrange(mapping=None, *, data=None, stat=None, position=None, show_l
|
|
|
1881
1988
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
1882
1989
|
show_legend : bool, default=True
|
|
1883
1990
|
False - do not show legend for this layer.
|
|
1991
|
+
inherit_aes : bool, default=True
|
|
1992
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
1884
1993
|
manual_key : str or `layer_key`
|
|
1885
1994
|
The key to show in the manual legend.
|
|
1886
1995
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -1890,6 +1999,7 @@ def geom_pointrange(mapping=None, *, data=None, stat=None, position=None, show_l
|
|
|
1890
1999
|
tooltips : `layer_tooltips`
|
|
1891
2000
|
Result of the call to the `layer_tooltips()` function.
|
|
1892
2001
|
Specify appearance, style and content.
|
|
2002
|
+
Set tooltips='none' to hide tooltips from the layer.
|
|
1893
2003
|
fatten : float, default=5.0
|
|
1894
2004
|
A multiplicative factor applied to size of the middle point.
|
|
1895
2005
|
color_by : {'fill', 'color', 'paint_a', 'paint_b', 'paint_c'}, default='color'
|
|
@@ -1920,14 +2030,19 @@ def geom_pointrange(mapping=None, *, data=None, stat=None, position=None, show_l
|
|
|
1920
2030
|
- ymin or xmin: lower bound for vertical or horizontal interval, respectively.
|
|
1921
2031
|
- ymax or xmax: upper bound for vertical or horizontal interval, respectively.
|
|
1922
2032
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
1923
|
-
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
1924
|
-
- fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
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>`__.
|
|
1925
2035
|
- size : size of mid-point.
|
|
1926
|
-
- linetype : type of the line.
|
|
1927
|
-
- shape : shape of the mid-point, an integer from 0 to 25. For more info see https://lets-plot.org/python/pages/aesthetics.html#point-shapes.
|
|
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>`__.
|
|
1928
2038
|
- stroke : width of the shape border. Applied only to the shapes having border.
|
|
1929
2039
|
- linewidth : line width.
|
|
1930
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
|
+
|
|
1931
2046
|
Examples
|
|
1932
2047
|
--------
|
|
1933
2048
|
.. jupyter-execute::
|
|
@@ -1975,6 +2090,7 @@ def geom_pointrange(mapping=None, *, data=None, stat=None, position=None, show_l
|
|
|
1975
2090
|
stat=stat,
|
|
1976
2091
|
position=position,
|
|
1977
2092
|
show_legend=show_legend,
|
|
2093
|
+
inherit_aes=inherit_aes,
|
|
1978
2094
|
manual_key=manual_key,
|
|
1979
2095
|
sampling=sampling,
|
|
1980
2096
|
tooltips=tooltips,
|
|
@@ -1983,7 +2099,8 @@ def geom_pointrange(mapping=None, *, data=None, stat=None, position=None, show_l
|
|
|
1983
2099
|
**other_args)
|
|
1984
2100
|
|
|
1985
2101
|
|
|
1986
|
-
def geom_linerange(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
2102
|
+
def geom_linerange(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
2103
|
+
manual_key=None,
|
|
1987
2104
|
sampling=None, tooltips=None,
|
|
1988
2105
|
color_by=None,
|
|
1989
2106
|
**other_args):
|
|
@@ -2012,6 +2129,8 @@ def geom_linerange(mapping=None, *, data=None, stat=None, position=None, show_le
|
|
|
2012
2129
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
2013
2130
|
show_legend : bool, default=True
|
|
2014
2131
|
False - do not show legend for this layer.
|
|
2132
|
+
inherit_aes : bool, default=True
|
|
2133
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
2015
2134
|
manual_key : str or `layer_key`
|
|
2016
2135
|
The key to show in the manual legend.
|
|
2017
2136
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -2021,6 +2140,7 @@ def geom_linerange(mapping=None, *, data=None, stat=None, position=None, show_le
|
|
|
2021
2140
|
tooltips : `layer_tooltips`
|
|
2022
2141
|
Result of the call to the `layer_tooltips()` function.
|
|
2023
2142
|
Specify appearance, style and content.
|
|
2143
|
+
Set tooltips='none' to hide tooltips from the layer.
|
|
2024
2144
|
color_by : {'fill', 'color', 'paint_a', 'paint_b', 'paint_c'}, default='color'
|
|
2025
2145
|
Define the color aesthetic for the geometry.
|
|
2026
2146
|
other_args
|
|
@@ -2045,9 +2165,14 @@ def geom_linerange(mapping=None, *, data=None, stat=None, position=None, show_le
|
|
|
2045
2165
|
- ymin or xmin: lower bound for vertical or horizontal line range, respectively.
|
|
2046
2166
|
- ymax or xmax: upper bound for vertical or horizontal line range, respectively.
|
|
2047
2167
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
2048
|
-
- 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>`__.
|
|
2049
2169
|
- size : line width.
|
|
2050
|
-
- linetype : type of the line.
|
|
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()`.
|
|
2051
2176
|
|
|
2052
2177
|
Examples
|
|
2053
2178
|
--------
|
|
@@ -2096,6 +2221,7 @@ def geom_linerange(mapping=None, *, data=None, stat=None, position=None, show_le
|
|
|
2096
2221
|
stat=stat,
|
|
2097
2222
|
position=position,
|
|
2098
2223
|
show_legend=show_legend,
|
|
2224
|
+
inherit_aes=inherit_aes,
|
|
2099
2225
|
manual_key=manual_key,
|
|
2100
2226
|
sampling=sampling,
|
|
2101
2227
|
tooltips=tooltips,
|
|
@@ -2103,7 +2229,8 @@ def geom_linerange(mapping=None, *, data=None, stat=None, position=None, show_le
|
|
|
2103
2229
|
**other_args)
|
|
2104
2230
|
|
|
2105
2231
|
|
|
2106
|
-
def geom_contour(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
2232
|
+
def geom_contour(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
2233
|
+
manual_key=None, sampling=None,
|
|
2107
2234
|
tooltips=None,
|
|
2108
2235
|
bins=None,
|
|
2109
2236
|
binwidth=None,
|
|
@@ -2129,6 +2256,8 @@ def geom_contour(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
2129
2256
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
2130
2257
|
show_legend : bool, default=True
|
|
2131
2258
|
False - do not show legend for this layer.
|
|
2259
|
+
inherit_aes : bool, default=True
|
|
2260
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
2132
2261
|
manual_key : str or `layer_key`
|
|
2133
2262
|
The key to show in the manual legend.
|
|
2134
2263
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -2138,6 +2267,7 @@ def geom_contour(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
2138
2267
|
tooltips : `layer_tooltips`
|
|
2139
2268
|
Result of the call to the `layer_tooltips()` function.
|
|
2140
2269
|
Specify appearance, style and content.
|
|
2270
|
+
Set tooltips='none' to hide tooltips from the layer.
|
|
2141
2271
|
bins : int
|
|
2142
2272
|
Number of levels.
|
|
2143
2273
|
binwidth : float
|
|
@@ -2169,9 +2299,14 @@ def geom_contour(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
2169
2299
|
- y : y-axis coordinates of the center of rectangles, forming a tessellation.
|
|
2170
2300
|
- z : value at point (x, y).
|
|
2171
2301
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
2172
|
-
- 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>`__.
|
|
2173
2303
|
- size : lines width.
|
|
2174
|
-
- linetype : type of the line.
|
|
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()`.
|
|
2175
2310
|
|
|
2176
2311
|
Examples
|
|
2177
2312
|
--------
|
|
@@ -2239,6 +2374,7 @@ def geom_contour(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
2239
2374
|
stat=stat,
|
|
2240
2375
|
position=position,
|
|
2241
2376
|
show_legend=show_legend,
|
|
2377
|
+
inherit_aes=inherit_aes,
|
|
2242
2378
|
manual_key=manual_key,
|
|
2243
2379
|
sampling=sampling,
|
|
2244
2380
|
tooltips=tooltips,
|
|
@@ -2247,7 +2383,8 @@ def geom_contour(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
2247
2383
|
**other_args)
|
|
2248
2384
|
|
|
2249
2385
|
|
|
2250
|
-
def geom_contourf(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
2386
|
+
def geom_contourf(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
2387
|
+
manual_key=None,
|
|
2251
2388
|
sampling=None, tooltips=None,
|
|
2252
2389
|
bins=None,
|
|
2253
2390
|
binwidth=None,
|
|
@@ -2273,6 +2410,8 @@ def geom_contourf(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
2273
2410
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
2274
2411
|
show_legend : bool, default=True
|
|
2275
2412
|
False - do not show legend for this layer.
|
|
2413
|
+
inherit_aes : bool, default=True
|
|
2414
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
2276
2415
|
manual_key : str or `layer_key`
|
|
2277
2416
|
The key to show in the manual legend.
|
|
2278
2417
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -2282,6 +2421,7 @@ def geom_contourf(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
2282
2421
|
tooltips : `layer_tooltips`
|
|
2283
2422
|
Result of the call to the `layer_tooltips()` function.
|
|
2284
2423
|
Specify appearance, style and content.
|
|
2424
|
+
Set tooltips='none' to hide tooltips from the layer.
|
|
2285
2425
|
bins : int
|
|
2286
2426
|
Number of levels.
|
|
2287
2427
|
binwidth : float
|
|
@@ -2315,7 +2455,7 @@ def geom_contourf(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
2315
2455
|
- y : y-axis coordinates of the center of rectangles, forming a tessellation.
|
|
2316
2456
|
- z : value at point (x, y).
|
|
2317
2457
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
2318
|
-
- 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>`__.
|
|
2319
2459
|
|
|
2320
2460
|
Examples
|
|
2321
2461
|
--------
|
|
@@ -2338,7 +2478,7 @@ def geom_contourf(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
2338
2478
|
rv = multivariate_normal(mean, cov)
|
|
2339
2479
|
Z = rv.pdf(np.dstack((X, Y)))
|
|
2340
2480
|
data = {'x': X.flatten(), 'y': Y.flatten(), 'z': Z.flatten()}
|
|
2341
|
-
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..'))
|
|
2342
2482
|
|
|
2343
2483
|
|
|
|
2344
2484
|
|
|
@@ -2384,6 +2524,7 @@ def geom_contourf(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
2384
2524
|
stat=stat,
|
|
2385
2525
|
position=position,
|
|
2386
2526
|
show_legend=show_legend,
|
|
2527
|
+
inherit_aes=inherit_aes,
|
|
2387
2528
|
manual_key=manual_key,
|
|
2388
2529
|
sampling=sampling,
|
|
2389
2530
|
tooltips=tooltips,
|
|
@@ -2393,7 +2534,8 @@ def geom_contourf(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
2393
2534
|
**other_args)
|
|
2394
2535
|
|
|
2395
2536
|
|
|
2396
|
-
def geom_polygon(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
2537
|
+
def geom_polygon(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
2538
|
+
manual_key=None, sampling=None,
|
|
2397
2539
|
tooltips=None,
|
|
2398
2540
|
map=None, map_join=None, use_crs=None,
|
|
2399
2541
|
color_by=None, fill_by=None,
|
|
@@ -2418,6 +2560,8 @@ def geom_polygon(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
2418
2560
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
2419
2561
|
show_legend : bool, default=True
|
|
2420
2562
|
False - do not show legend for this layer.
|
|
2563
|
+
inherit_aes : bool, default=True
|
|
2564
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
2421
2565
|
manual_key : str or `layer_key`
|
|
2422
2566
|
The key to show in the manual legend.
|
|
2423
2567
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -2427,6 +2571,7 @@ def geom_polygon(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
2427
2571
|
tooltips : `layer_tooltips`
|
|
2428
2572
|
Result of the call to the `layer_tooltips()` function.
|
|
2429
2573
|
Specify appearance, style and content.
|
|
2574
|
+
Set tooltips='none' to hide tooltips from the layer.
|
|
2430
2575
|
map : `GeoDataFrame` or `Geocoder`
|
|
2431
2576
|
Data contains coordinates of polygon vertices on map.
|
|
2432
2577
|
map_join : str or list
|
|
@@ -2463,10 +2608,10 @@ def geom_polygon(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
2463
2608
|
- x : x-axis coordinates of the vertices of the polygon.
|
|
2464
2609
|
- y : y-axis coordinates of the vertices of the polygon.
|
|
2465
2610
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
2466
|
-
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
2467
|
-
- fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
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>`__.
|
|
2468
2613
|
- size : line width.
|
|
2469
|
-
- linetype : type of the line.
|
|
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>`__.
|
|
2470
2615
|
|
|
2471
2616
|
----
|
|
2472
2617
|
|
|
@@ -2567,6 +2712,7 @@ def geom_polygon(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
2567
2712
|
stat=stat,
|
|
2568
2713
|
position=position,
|
|
2569
2714
|
show_legend=show_legend,
|
|
2715
|
+
inherit_aes=inherit_aes,
|
|
2570
2716
|
manual_key=manual_key,
|
|
2571
2717
|
sampling=sampling,
|
|
2572
2718
|
tooltips=tooltips,
|
|
@@ -2575,8 +2721,8 @@ def geom_polygon(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
2575
2721
|
**other_args)
|
|
2576
2722
|
|
|
2577
2723
|
|
|
2578
|
-
def geom_map(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
2579
|
-
tooltips=None,
|
|
2724
|
+
def geom_map(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
2725
|
+
manual_key=None, sampling=None, tooltips=None,
|
|
2580
2726
|
map=None, map_join=None, use_crs=None,
|
|
2581
2727
|
color_by=None, fill_by=None,
|
|
2582
2728
|
**other_args):
|
|
@@ -2605,6 +2751,8 @@ def geom_map(mapping=None, *, data=None, stat=None, position=None, show_legend=N
|
|
|
2605
2751
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
2606
2752
|
show_legend : bool, default=True
|
|
2607
2753
|
False - do not show legend for this layer.
|
|
2754
|
+
inherit_aes : bool, default=True
|
|
2755
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
2608
2756
|
manual_key : str or `layer_key`
|
|
2609
2757
|
The key to show in the manual legend.
|
|
2610
2758
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -2614,6 +2762,7 @@ def geom_map(mapping=None, *, data=None, stat=None, position=None, show_legend=N
|
|
|
2614
2762
|
tooltips : `layer_tooltips`
|
|
2615
2763
|
Result of the call to the `layer_tooltips()` function.
|
|
2616
2764
|
Specify appearance, style and content.
|
|
2765
|
+
Set tooltips='none' to hide tooltips from the layer.
|
|
2617
2766
|
map : `GeoDataFrame` or `Geocoder`
|
|
2618
2767
|
Data containing region boundaries (coordinates of polygon vertices on map).
|
|
2619
2768
|
map_join : str or list
|
|
@@ -2649,10 +2798,10 @@ def geom_map(mapping=None, *, data=None, stat=None, position=None, show_legend=N
|
|
|
2649
2798
|
`geom_map()` understands the following aesthetics:
|
|
2650
2799
|
|
|
2651
2800
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
2652
|
-
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
2653
|
-
- fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
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>`__.
|
|
2654
2803
|
- size : line width.
|
|
2655
|
-
- linetype : type of the line.
|
|
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>`__.
|
|
2656
2805
|
|
|
2657
2806
|
----
|
|
2658
2807
|
|
|
@@ -2739,6 +2888,7 @@ def geom_map(mapping=None, *, data=None, stat=None, position=None, show_legend=N
|
|
|
2739
2888
|
stat=stat,
|
|
2740
2889
|
position=position,
|
|
2741
2890
|
show_legend=show_legend,
|
|
2891
|
+
inherit_aes=inherit_aes,
|
|
2742
2892
|
manual_key=manual_key,
|
|
2743
2893
|
sampling=sampling,
|
|
2744
2894
|
tooltips=tooltips,
|
|
@@ -2747,7 +2897,8 @@ def geom_map(mapping=None, *, data=None, stat=None, position=None, show_legend=N
|
|
|
2747
2897
|
**other_args)
|
|
2748
2898
|
|
|
2749
2899
|
|
|
2750
|
-
def geom_abline(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
2900
|
+
def geom_abline(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
2901
|
+
manual_key=None, sampling=None,
|
|
2751
2902
|
slope=None,
|
|
2752
2903
|
intercept=None,
|
|
2753
2904
|
color_by=None,
|
|
@@ -2772,6 +2923,8 @@ def geom_abline(mapping=None, *, data=None, stat=None, position=None, show_legen
|
|
|
2772
2923
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
2773
2924
|
show_legend : bool, default=True
|
|
2774
2925
|
False - do not show legend for this layer.
|
|
2926
|
+
inherit_aes : bool, default=True
|
|
2927
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
2775
2928
|
manual_key : str or `layer_key`
|
|
2776
2929
|
The key to show in the manual legend.
|
|
2777
2930
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -2804,9 +2957,9 @@ def geom_abline(mapping=None, *, data=None, stat=None, position=None, show_legen
|
|
|
2804
2957
|
- slope : line slope.
|
|
2805
2958
|
- intercept : line y-intercept.
|
|
2806
2959
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
2807
|
-
- 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>`__.
|
|
2808
2961
|
- size : lines width.
|
|
2809
|
-
- linetype : type of the line.
|
|
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>`__.
|
|
2810
2963
|
|
|
2811
2964
|
Examples
|
|
2812
2965
|
--------
|
|
@@ -2852,6 +3005,7 @@ def geom_abline(mapping=None, *, data=None, stat=None, position=None, show_legen
|
|
|
2852
3005
|
stat=stat,
|
|
2853
3006
|
position=position,
|
|
2854
3007
|
show_legend=show_legend,
|
|
3008
|
+
inherit_aes=inherit_aes,
|
|
2855
3009
|
manual_key=manual_key,
|
|
2856
3010
|
sampling=sampling,
|
|
2857
3011
|
slope=slope,
|
|
@@ -2860,8 +3014,8 @@ def geom_abline(mapping=None, *, data=None, stat=None, position=None, show_legen
|
|
|
2860
3014
|
**other_args)
|
|
2861
3015
|
|
|
2862
3016
|
|
|
2863
|
-
def geom_band(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
2864
|
-
tooltips=None,
|
|
3017
|
+
def geom_band(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
3018
|
+
sampling=None, tooltips=None,
|
|
2865
3019
|
color_by=None, fill_by=None,
|
|
2866
3020
|
**other_args):
|
|
2867
3021
|
"""
|
|
@@ -2884,12 +3038,15 @@ def geom_band(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
2884
3038
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
2885
3039
|
show_legend : bool, default=True
|
|
2886
3040
|
False - do not show legend for this layer.
|
|
3041
|
+
inherit_aes : bool, default=True
|
|
3042
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
2887
3043
|
sampling : `FeatureSpec`
|
|
2888
3044
|
Result of the call to the `sampling_xxx()` function.
|
|
2889
3045
|
To prevent any sampling for this layer pass value "none" (string "none").
|
|
2890
3046
|
tooltips : `layer_tooltips`
|
|
2891
3047
|
Result of the call to the `layer_tooltips()` function.
|
|
2892
3048
|
Specify appearance, style and content.
|
|
3049
|
+
Set tooltips='none' to hide tooltips from the layer.
|
|
2893
3050
|
color_by : {'fill', 'color', 'paint_a', 'paint_b', 'paint_c'}, default='color'
|
|
2894
3051
|
Define the color aesthetic for the geometry.
|
|
2895
3052
|
fill_by : {'fill', 'color', 'paint_a', 'paint_b', 'paint_c'}, default='fill'
|
|
@@ -2914,10 +3071,10 @@ def geom_band(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
2914
3071
|
- ymin : y-axis value.
|
|
2915
3072
|
- ymax : y-axis value.
|
|
2916
3073
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
2917
|
-
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
2918
|
-
- fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
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>`__.
|
|
2919
3076
|
- size : lines width.
|
|
2920
|
-
- linetype : type of the line.
|
|
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>`__.
|
|
2921
3078
|
|
|
2922
3079
|
Examples
|
|
2923
3080
|
--------
|
|
@@ -2961,6 +3118,7 @@ def geom_band(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
2961
3118
|
stat=stat,
|
|
2962
3119
|
position=position,
|
|
2963
3120
|
show_legend=show_legend,
|
|
3121
|
+
inherit_aes=inherit_aes,
|
|
2964
3122
|
sampling=sampling,
|
|
2965
3123
|
tooltips=tooltips,
|
|
2966
3124
|
color_by=color_by,
|
|
@@ -2968,7 +3126,8 @@ def geom_band(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
2968
3126
|
**other_args)
|
|
2969
3127
|
|
|
2970
3128
|
|
|
2971
|
-
def geom_hline(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
3129
|
+
def geom_hline(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
3130
|
+
manual_key=None, sampling=None,
|
|
2972
3131
|
tooltips=None,
|
|
2973
3132
|
yintercept=None,
|
|
2974
3133
|
color_by=None,
|
|
@@ -2993,6 +3152,8 @@ def geom_hline(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
2993
3152
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
2994
3153
|
show_legend : bool, default=True
|
|
2995
3154
|
False - do not show legend for this layer.
|
|
3155
|
+
inherit_aes : bool, default=True
|
|
3156
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
2996
3157
|
manual_key : str or `layer_key`
|
|
2997
3158
|
The key to show in the manual legend.
|
|
2998
3159
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -3002,6 +3163,7 @@ def geom_hline(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
3002
3163
|
tooltips : `layer_tooltips`
|
|
3003
3164
|
Result of the call to the `layer_tooltips()` function.
|
|
3004
3165
|
Specify appearance, style and content.
|
|
3166
|
+
Set tooltips='none' to hide tooltips from the layer.
|
|
3005
3167
|
yintercept : float
|
|
3006
3168
|
The value of y at the point where the line crosses the y axis.
|
|
3007
3169
|
color_by : {'fill', 'color', 'paint_a', 'paint_b', 'paint_c'}, default='color'
|
|
@@ -3023,9 +3185,9 @@ def geom_hline(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
3023
3185
|
|
|
3024
3186
|
- yintercept : line y-intercept.
|
|
3025
3187
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
3026
|
-
- 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>`__.
|
|
3027
3189
|
- size : line width.
|
|
3028
|
-
- linetype : type of the line.
|
|
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>`__.
|
|
3029
3191
|
|
|
3030
3192
|
Examples
|
|
3031
3193
|
--------
|
|
@@ -3080,6 +3242,7 @@ def geom_hline(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
3080
3242
|
stat=stat,
|
|
3081
3243
|
position=position,
|
|
3082
3244
|
show_legend=show_legend,
|
|
3245
|
+
inherit_aes=inherit_aes,
|
|
3083
3246
|
manual_key=manual_key,
|
|
3084
3247
|
sampling=sampling,
|
|
3085
3248
|
tooltips=tooltips,
|
|
@@ -3088,7 +3251,8 @@ def geom_hline(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
3088
3251
|
**other_args)
|
|
3089
3252
|
|
|
3090
3253
|
|
|
3091
|
-
def geom_vline(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
3254
|
+
def geom_vline(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
3255
|
+
manual_key=None, sampling=None,
|
|
3092
3256
|
tooltips=None,
|
|
3093
3257
|
xintercept=None,
|
|
3094
3258
|
color_by=None,
|
|
@@ -3113,6 +3277,8 @@ def geom_vline(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
3113
3277
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
3114
3278
|
show_legend : bool, default=True
|
|
3115
3279
|
False - do not show legend for this layer.
|
|
3280
|
+
inherit_aes : bool, default=True
|
|
3281
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
3116
3282
|
manual_key : str or `layer_key`
|
|
3117
3283
|
The key to show in the manual legend.
|
|
3118
3284
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -3122,6 +3288,7 @@ def geom_vline(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
3122
3288
|
tooltips : `layer_tooltips`
|
|
3123
3289
|
Result of the call to the `layer_tooltips()` function.
|
|
3124
3290
|
Specify appearance, style and content.
|
|
3291
|
+
Set tooltips='none' to hide tooltips from the layer.
|
|
3125
3292
|
xintercept : float
|
|
3126
3293
|
The value of x at the point where the line crosses the x axis.
|
|
3127
3294
|
color_by : {'fill', 'color', 'paint_a', 'paint_b', 'paint_c'}, default='color'
|
|
@@ -3143,9 +3310,9 @@ def geom_vline(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
3143
3310
|
|
|
3144
3311
|
- xintercept : line x-intercept.
|
|
3145
3312
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
3146
|
-
- 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>`__.
|
|
3147
3314
|
- size : lines width.
|
|
3148
|
-
- linetype : type of the line.
|
|
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>`__.
|
|
3149
3316
|
|
|
3150
3317
|
Examples
|
|
3151
3318
|
--------
|
|
@@ -3200,6 +3367,7 @@ def geom_vline(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
3200
3367
|
stat=stat,
|
|
3201
3368
|
position=position,
|
|
3202
3369
|
show_legend=show_legend,
|
|
3370
|
+
inherit_aes=inherit_aes,
|
|
3203
3371
|
manual_key=manual_key,
|
|
3204
3372
|
sampling=sampling,
|
|
3205
3373
|
tooltips=tooltips,
|
|
@@ -3208,7 +3376,8 @@ def geom_vline(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
3208
3376
|
**other_args)
|
|
3209
3377
|
|
|
3210
3378
|
|
|
3211
|
-
def geom_boxplot(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
3379
|
+
def geom_boxplot(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
3380
|
+
manual_key=None, tooltips=None,
|
|
3212
3381
|
orientation=None,
|
|
3213
3382
|
fatten=None,
|
|
3214
3383
|
outlier_alpha=None, outlier_color=None, outlier_fill=None,
|
|
@@ -3239,12 +3408,15 @@ def geom_boxplot(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
3239
3408
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
3240
3409
|
show_legend : bool, default=True
|
|
3241
3410
|
False - do not show legend for this layer.
|
|
3411
|
+
inherit_aes : bool, default=True
|
|
3412
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
3242
3413
|
manual_key : str or `layer_key`
|
|
3243
3414
|
The key to show in the manual legend.
|
|
3244
3415
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
3245
3416
|
tooltips : `layer_tooltips`
|
|
3246
3417
|
Result of the call to the `layer_tooltips()` function.
|
|
3247
3418
|
Specify appearance, style and content.
|
|
3419
|
+
Set tooltips='none' to hide tooltips from the layer.
|
|
3248
3420
|
orientation : str
|
|
3249
3421
|
Specify the axis that the layer's stat and geom should run along.
|
|
3250
3422
|
The default value (None) automatically determines the orientation based on the aesthetic mapping.
|
|
@@ -3303,12 +3475,17 @@ def geom_boxplot(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
3303
3475
|
- ymin : lower whisker.
|
|
3304
3476
|
- ymax : upper whisker.
|
|
3305
3477
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
3306
|
-
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
3307
|
-
- fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
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>`__.
|
|
3308
3480
|
- size : lines width.
|
|
3309
|
-
- linetype : type of the line of border.
|
|
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>`__.
|
|
3310
3482
|
- width : width of boxplot. Typically ranges between 0 and 1. Values that are greater than 1 lead to overlapping of the boxes.
|
|
3311
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
|
+
|
|
3312
3489
|
Examples
|
|
3313
3490
|
--------
|
|
3314
3491
|
.. jupyter-execute::
|
|
@@ -3336,8 +3513,8 @@ def geom_boxplot(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
3336
3513
|
LetsPlot.setup_html()
|
|
3337
3514
|
n = 100
|
|
3338
3515
|
np.random.seed(42)
|
|
3339
|
-
x = np.random.
|
|
3340
|
-
y = np.random.
|
|
3516
|
+
x = np.random.normal(size=n)
|
|
3517
|
+
y = np.random.choice(['a', 'b', 'b', 'c'], size=n)
|
|
3341
3518
|
ggplot({'x': x, 'y': y}, aes(x='x', y='y')) + \\
|
|
3342
3519
|
geom_boxplot(fatten=5, varwidth=True, \\
|
|
3343
3520
|
outlier_shape=8, outlier_size=2)
|
|
@@ -3378,10 +3555,10 @@ def geom_boxplot(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
3378
3555
|
LetsPlot.setup_html()
|
|
3379
3556
|
n, m = 100, 5
|
|
3380
3557
|
np.random.seed(42)
|
|
3381
|
-
df = pd.DataFrame({'
|
|
3558
|
+
df = pd.DataFrame({'y%s' % i: np.random.normal(size=n) \\
|
|
3382
3559
|
for i in range(1, m + 1)})
|
|
3383
3560
|
ggplot(df.melt()) + \\
|
|
3384
|
-
geom_boxplot(aes(x='
|
|
3561
|
+
geom_boxplot(aes(x='value', y='variable', color='variable', \\
|
|
3385
3562
|
fill='variable'), \\
|
|
3386
3563
|
outlier_shape=21, outlier_size=1.5, size=2, \\
|
|
3387
3564
|
alpha=.5, width=.5, show_legend=False)
|
|
@@ -3393,7 +3570,8 @@ def geom_boxplot(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
3393
3570
|
stat=stat,
|
|
3394
3571
|
position=position,
|
|
3395
3572
|
show_legend=show_legend,
|
|
3396
|
-
|
|
3573
|
+
inherit_aes=inherit_aes,
|
|
3574
|
+
manual_key=manual_key,
|
|
3397
3575
|
sampling=None,
|
|
3398
3576
|
tooltips=tooltips,
|
|
3399
3577
|
orientation=orientation,
|
|
@@ -3414,6 +3592,7 @@ def geom_boxplot(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
3414
3592
|
stat='boxplot_outlier',
|
|
3415
3593
|
position=position,
|
|
3416
3594
|
show_legend=False,
|
|
3595
|
+
inherit_aes=inherit_aes,
|
|
3417
3596
|
sampling=None,
|
|
3418
3597
|
orientation=orientation,
|
|
3419
3598
|
alpha=outlier_alpha,
|
|
@@ -3426,7 +3605,8 @@ def geom_boxplot(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
3426
3605
|
return boxplot_layer
|
|
3427
3606
|
|
|
3428
3607
|
|
|
3429
|
-
def geom_violin(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
3608
|
+
def geom_violin(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
3609
|
+
manual_key=None, sampling=None,
|
|
3430
3610
|
tooltips=None,
|
|
3431
3611
|
orientation=None,
|
|
3432
3612
|
show_half=None,
|
|
@@ -3454,6 +3634,8 @@ def geom_violin(mapping=None, *, data=None, stat=None, position=None, show_legen
|
|
|
3454
3634
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
3455
3635
|
show_legend : bool, default=True
|
|
3456
3636
|
False - do not show legend for this layer.
|
|
3637
|
+
inherit_aes : bool, default=True
|
|
3638
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
3457
3639
|
manual_key : str or `layer_key`
|
|
3458
3640
|
The key to show in the manual legend.
|
|
3459
3641
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -3463,6 +3645,7 @@ def geom_violin(mapping=None, *, data=None, stat=None, position=None, show_legen
|
|
|
3463
3645
|
tooltips : `layer_tooltips`
|
|
3464
3646
|
Result of the call to the `layer_tooltips()` function.
|
|
3465
3647
|
Specify appearance, style and content.
|
|
3648
|
+
Set tooltips='none' to hide tooltips from the layer.
|
|
3466
3649
|
orientation : str
|
|
3467
3650
|
Specify the axis that the layer's stat and geom should run along.
|
|
3468
3651
|
The default value (None) automatically determines the orientation based on the aesthetic mapping.
|
|
@@ -3527,13 +3710,18 @@ def geom_violin(mapping=None, *, data=None, stat=None, position=None, show_legen
|
|
|
3527
3710
|
- x : x-axis coordinates.
|
|
3528
3711
|
- y : y-axis coordinates.
|
|
3529
3712
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
3530
|
-
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
3531
|
-
- fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
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>`__.
|
|
3532
3715
|
- size : lines width.
|
|
3533
|
-
- linetype : type of the line of border.
|
|
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>`__.
|
|
3534
3717
|
- weight : used by 'ydensity' stat to compute weighted density.
|
|
3535
3718
|
- quantile : quantile values to draw quantile lines and fill quantiles of the geometry by color.
|
|
3536
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
|
+
|
|
3537
3725
|
Examples
|
|
3538
3726
|
--------
|
|
3539
3727
|
.. jupyter-execute::
|
|
@@ -3634,6 +3822,7 @@ def geom_violin(mapping=None, *, data=None, stat=None, position=None, show_legen
|
|
|
3634
3822
|
stat=stat,
|
|
3635
3823
|
position=position,
|
|
3636
3824
|
show_legend=show_legend,
|
|
3825
|
+
inherit_aes=inherit_aes,
|
|
3637
3826
|
manual_key=manual_key,
|
|
3638
3827
|
sampling=sampling,
|
|
3639
3828
|
tooltips=tooltips,
|
|
@@ -3641,12 +3830,15 @@ def geom_violin(mapping=None, *, data=None, stat=None, position=None, show_legen
|
|
|
3641
3830
|
show_half=show_half,
|
|
3642
3831
|
quantiles=quantiles,
|
|
3643
3832
|
quantile_lines=quantile_lines,
|
|
3644
|
-
scale=scale, trim=trim, tails_cutoff=tails_cutoff, kernel=kernel, bw=bw, adjust=adjust, n=n,
|
|
3833
|
+
scale=scale, trim=trim, tails_cutoff=tails_cutoff, kernel=kernel, bw=bw, adjust=adjust, n=n,
|
|
3834
|
+
fs_max=fs_max,
|
|
3645
3835
|
color_by=color_by, fill_by=fill_by,
|
|
3646
3836
|
**other_args)
|
|
3647
3837
|
|
|
3648
3838
|
|
|
3649
|
-
def geom_ydotplot(mapping=None, *, data=None, show_legend=None,
|
|
3839
|
+
def geom_ydotplot(mapping=None, *, data=None, show_legend=None, inherit_aes=None,
|
|
3840
|
+
manual_key=None, sampling=None,
|
|
3841
|
+
tooltips=None,
|
|
3650
3842
|
orientation=None,
|
|
3651
3843
|
binwidth=None,
|
|
3652
3844
|
bins=None,
|
|
@@ -3675,6 +3867,8 @@ def geom_ydotplot(mapping=None, *, data=None, show_legend=None, manual_key=None,
|
|
|
3675
3867
|
is inherited from the plot data as specified in the call to ggplot.
|
|
3676
3868
|
show_legend : bool, default=True
|
|
3677
3869
|
False - do not show legend for this layer.
|
|
3870
|
+
inherit_aes : bool, default=True
|
|
3871
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
3678
3872
|
manual_key : str or `layer_key`
|
|
3679
3873
|
The key to show in the manual legend.
|
|
3680
3874
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -3684,6 +3878,7 @@ def geom_ydotplot(mapping=None, *, data=None, show_legend=None, manual_key=None,
|
|
|
3684
3878
|
tooltips : `layer_tooltips`
|
|
3685
3879
|
Result of the call to the `layer_tooltips()` function.
|
|
3686
3880
|
Specify appearance, style and content.
|
|
3881
|
+
Set tooltips='none' to hide tooltips from the layer.
|
|
3687
3882
|
orientation : str
|
|
3688
3883
|
Specify the axis that the layer's stat and geom should run along.
|
|
3689
3884
|
The default value (None) automatically determines the orientation based on the aesthetic mapping.
|
|
@@ -3742,10 +3937,15 @@ def geom_ydotplot(mapping=None, *, data=None, show_legend=None, manual_key=None,
|
|
|
3742
3937
|
- x : x-axis value.
|
|
3743
3938
|
- y : y-axis value.
|
|
3744
3939
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
3745
|
-
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
3746
|
-
- fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
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>`__.
|
|
3747
3942
|
- stroke : width of the dot border.
|
|
3748
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
|
+
|
|
3749
3949
|
Examples
|
|
3750
3950
|
--------
|
|
3751
3951
|
.. jupyter-execute::
|
|
@@ -3811,6 +4011,7 @@ def geom_ydotplot(mapping=None, *, data=None, show_legend=None, manual_key=None,
|
|
|
3811
4011
|
stat=None,
|
|
3812
4012
|
position=None,
|
|
3813
4013
|
show_legend=show_legend,
|
|
4014
|
+
inherit_aes=inherit_aes,
|
|
3814
4015
|
manual_key=manual_key,
|
|
3815
4016
|
sampling=sampling,
|
|
3816
4017
|
tooltips=tooltips,
|
|
@@ -3828,7 +4029,8 @@ def geom_ydotplot(mapping=None, *, data=None, show_legend=None, manual_key=None,
|
|
|
3828
4029
|
**other_args)
|
|
3829
4030
|
|
|
3830
4031
|
|
|
3831
|
-
def geom_area_ridges(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
4032
|
+
def geom_area_ridges(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
4033
|
+
manual_key=None,
|
|
3832
4034
|
sampling=None, tooltips=None,
|
|
3833
4035
|
trim=None, tails_cutoff=None, kernel=None, adjust=None, bw=None, n=None, fs_max=None,
|
|
3834
4036
|
min_height=None, scale=None, quantiles=None, quantile_lines=None,
|
|
@@ -3856,6 +4058,8 @@ def geom_area_ridges(mapping=None, *, data=None, stat=None, position=None, show_
|
|
|
3856
4058
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
3857
4059
|
show_legend : bool, default=True
|
|
3858
4060
|
False - do not show legend for this layer.
|
|
4061
|
+
inherit_aes : bool, default=True
|
|
4062
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
3859
4063
|
manual_key : str or `layer_key`
|
|
3860
4064
|
The key to show in the manual legend.
|
|
3861
4065
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -3865,6 +4069,7 @@ def geom_area_ridges(mapping=None, *, data=None, stat=None, position=None, show_
|
|
|
3865
4069
|
tooltips : `layer_tooltips`
|
|
3866
4070
|
Result of the call to the `layer_tooltips()` function.
|
|
3867
4071
|
Specify appearance, style and content.
|
|
4072
|
+
Set tooltips='none' to hide tooltips from the layer.
|
|
3868
4073
|
trim : bool, default=False
|
|
3869
4074
|
Trim the tails of the ridges to the range of the data.
|
|
3870
4075
|
tails_cutoff : float
|
|
@@ -3926,13 +4131,18 @@ def geom_area_ridges(mapping=None, *, data=None, stat=None, position=None, show_
|
|
|
3926
4131
|
- y : y-axis coordinates.
|
|
3927
4132
|
- height : height of the ridge. Assumed to be between 0 and 1, though this is not required.
|
|
3928
4133
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
3929
|
-
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
3930
|
-
- fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
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>`__.
|
|
3931
4136
|
- size : lines width.
|
|
3932
|
-
- linetype : type of the line of border.
|
|
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>`__.
|
|
3933
4138
|
- weight : used by 'densityridges' stat to compute weighted density.
|
|
3934
4139
|
- quantile : quantile values to draw quantile lines and fill quantiles of the geometry by color.
|
|
3935
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
|
+
|
|
3936
4146
|
Examples
|
|
3937
4147
|
--------
|
|
3938
4148
|
.. jupyter-execute::
|
|
@@ -3992,6 +4202,7 @@ def geom_area_ridges(mapping=None, *, data=None, stat=None, position=None, show_
|
|
|
3992
4202
|
stat=stat,
|
|
3993
4203
|
position=position,
|
|
3994
4204
|
show_legend=show_legend,
|
|
4205
|
+
inherit_aes=inherit_aes,
|
|
3995
4206
|
manual_key=manual_key,
|
|
3996
4207
|
sampling=sampling,
|
|
3997
4208
|
tooltips=tooltips,
|
|
@@ -4010,7 +4221,8 @@ def geom_area_ridges(mapping=None, *, data=None, stat=None, position=None, show_
|
|
|
4010
4221
|
**other_args)
|
|
4011
4222
|
|
|
4012
4223
|
|
|
4013
|
-
def geom_ribbon(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
4224
|
+
def geom_ribbon(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
4225
|
+
manual_key=None, sampling=None,
|
|
4014
4226
|
tooltips=None,
|
|
4015
4227
|
color_by=None, fill_by=None,
|
|
4016
4228
|
**other_args):
|
|
@@ -4034,6 +4246,8 @@ def geom_ribbon(mapping=None, *, data=None, stat=None, position=None, show_legen
|
|
|
4034
4246
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
4035
4247
|
show_legend : bool, default=True
|
|
4036
4248
|
False - do not show legend for this layer.
|
|
4249
|
+
inherit_aes : bool, default=True
|
|
4250
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
4037
4251
|
manual_key : str or `layer_key`
|
|
4038
4252
|
The key to show in the manual legend.
|
|
4039
4253
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -4043,6 +4257,7 @@ def geom_ribbon(mapping=None, *, data=None, stat=None, position=None, show_legen
|
|
|
4043
4257
|
tooltips : `layer_tooltips`
|
|
4044
4258
|
Result of the call to the `layer_tooltips()` function.
|
|
4045
4259
|
Specify appearance, style and content.
|
|
4260
|
+
Set tooltips='none' to hide tooltips from the layer.
|
|
4046
4261
|
color_by : {'fill', 'color', 'paint_a', 'paint_b', 'paint_c'}, default='color'
|
|
4047
4262
|
Define the color aesthetic for the geometry.
|
|
4048
4263
|
fill_by : {'fill', 'color', 'paint_a', 'paint_b', 'paint_c'}, default='fill'
|
|
@@ -4068,10 +4283,15 @@ def geom_ribbon(mapping=None, *, data=None, stat=None, position=None, show_legen
|
|
|
4068
4283
|
- ymin or xmin: y-axis or x-axis coordinates of the lower bound for horizontal or vertical ribbon, respectively.
|
|
4069
4284
|
- ymax or xmax: y-axis or x-axis coordinates of the upper bound for horizontal or vertical ribbon, respectively.
|
|
4070
4285
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
4071
|
-
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
4072
|
-
- fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
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>`__.
|
|
4073
4288
|
- size : lines width.
|
|
4074
|
-
- linetype : type of the line of border.
|
|
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()`.
|
|
4075
4295
|
|
|
4076
4296
|
Examples
|
|
4077
4297
|
--------
|
|
@@ -4119,6 +4339,7 @@ def geom_ribbon(mapping=None, *, data=None, stat=None, position=None, show_legen
|
|
|
4119
4339
|
stat=stat,
|
|
4120
4340
|
position=position,
|
|
4121
4341
|
show_legend=show_legend,
|
|
4342
|
+
inherit_aes=inherit_aes,
|
|
4122
4343
|
manual_key=manual_key,
|
|
4123
4344
|
sampling=sampling,
|
|
4124
4345
|
tooltips=tooltips,
|
|
@@ -4126,8 +4347,8 @@ def geom_ribbon(mapping=None, *, data=None, stat=None, position=None, show_legen
|
|
|
4126
4347
|
**other_args)
|
|
4127
4348
|
|
|
4128
4349
|
|
|
4129
|
-
def geom_area(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
4130
|
-
tooltips=None,
|
|
4350
|
+
def geom_area(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
4351
|
+
manual_key=None, sampling=None, tooltips=None,
|
|
4131
4352
|
flat=None, color_by=None, fill_by=None,
|
|
4132
4353
|
**other_args):
|
|
4133
4354
|
"""
|
|
@@ -4156,6 +4377,8 @@ def geom_area(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
4156
4377
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
4157
4378
|
show_legend : bool, default=True
|
|
4158
4379
|
False - do not show legend for this layer.
|
|
4380
|
+
inherit_aes : bool, default=True
|
|
4381
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
4159
4382
|
manual_key : str or `layer_key`
|
|
4160
4383
|
The key to show in the manual legend.
|
|
4161
4384
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -4165,6 +4388,7 @@ def geom_area(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
4165
4388
|
tooltips : `layer_tooltips`
|
|
4166
4389
|
Result of the call to the `layer_tooltips()` function.
|
|
4167
4390
|
Specify appearance, style and content.
|
|
4391
|
+
Set tooltips='none' to hide tooltips from the layer.
|
|
4168
4392
|
flat : bool, default=False.
|
|
4169
4393
|
True - keep a line straight (corresponding to a loxodrome in case of Mercator projection).
|
|
4170
4394
|
False - allow a line to be reprojected, so it can become a curve.
|
|
@@ -4192,10 +4416,15 @@ def geom_area(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
4192
4416
|
- x : x-axis coordinates.
|
|
4193
4417
|
- y : y-axis coordinates.
|
|
4194
4418
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
4195
|
-
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
4196
|
-
- fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
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>`__.
|
|
4197
4421
|
- size : lines width.
|
|
4198
|
-
- linetype : type of the line of border.
|
|
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()`.
|
|
4199
4428
|
|
|
4200
4429
|
Examples
|
|
4201
4430
|
--------
|
|
@@ -4245,6 +4474,7 @@ def geom_area(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
4245
4474
|
stat=stat,
|
|
4246
4475
|
position=position,
|
|
4247
4476
|
show_legend=show_legend,
|
|
4477
|
+
inherit_aes=inherit_aes,
|
|
4248
4478
|
manual_key=manual_key,
|
|
4249
4479
|
sampling=sampling,
|
|
4250
4480
|
tooltips=tooltips,
|
|
@@ -4253,7 +4483,8 @@ def geom_area(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
4253
4483
|
**other_args)
|
|
4254
4484
|
|
|
4255
4485
|
|
|
4256
|
-
def geom_density(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
4486
|
+
def geom_density(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
4487
|
+
manual_key=None, sampling=None,
|
|
4257
4488
|
tooltips=None,
|
|
4258
4489
|
orientation=None,
|
|
4259
4490
|
trim=None,
|
|
@@ -4291,6 +4522,8 @@ def geom_density(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
4291
4522
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
4292
4523
|
show_legend : bool, default=True
|
|
4293
4524
|
False - do not show legend for this layer.
|
|
4525
|
+
inherit_aes : bool, default=True
|
|
4526
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
4294
4527
|
manual_key : str or `layer_key`
|
|
4295
4528
|
The key to show in the manual legend.
|
|
4296
4529
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -4300,6 +4533,7 @@ def geom_density(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
4300
4533
|
tooltips : `layer_tooltips`
|
|
4301
4534
|
Result of the call to the `layer_tooltips()` function.
|
|
4302
4535
|
Specify appearance, style and content.
|
|
4536
|
+
Set tooltips='none' to hide tooltips from the layer.
|
|
4303
4537
|
orientation : str, default='x'
|
|
4304
4538
|
Specify the axis that the layer's stat and geom should run along.
|
|
4305
4539
|
Possible values: 'x', 'y'.
|
|
@@ -4352,13 +4586,18 @@ def geom_density(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
4352
4586
|
|
|
4353
4587
|
- x : x-axis coordinates.
|
|
4354
4588
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
4355
|
-
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
4356
|
-
- fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
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>`__.
|
|
4357
4591
|
- size : lines width.
|
|
4358
|
-
- linetype : type of the line.
|
|
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>`__.
|
|
4359
4593
|
- weight : used by 'density' stat to compute weighted density.
|
|
4360
4594
|
- quantile : quantile values to draw quantile lines and fill quantiles of the geometry by color.
|
|
4361
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
|
+
|
|
4362
4601
|
Examples
|
|
4363
4602
|
--------
|
|
4364
4603
|
.. jupyter-execute::
|
|
@@ -4457,6 +4696,7 @@ def geom_density(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
4457
4696
|
stat=stat,
|
|
4458
4697
|
position=position,
|
|
4459
4698
|
show_legend=show_legend,
|
|
4699
|
+
inherit_aes=inherit_aes,
|
|
4460
4700
|
manual_key=manual_key,
|
|
4461
4701
|
sampling=sampling,
|
|
4462
4702
|
tooltips=tooltips,
|
|
@@ -4467,8 +4707,8 @@ def geom_density(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
4467
4707
|
**other_args)
|
|
4468
4708
|
|
|
4469
4709
|
|
|
4470
|
-
def geom_density2d(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
4471
|
-
sampling=None, tooltips=None,
|
|
4710
|
+
def geom_density2d(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
4711
|
+
manual_key=None, sampling=None, tooltips=None,
|
|
4472
4712
|
kernel=None,
|
|
4473
4713
|
adjust=None,
|
|
4474
4714
|
bw=None,
|
|
@@ -4501,6 +4741,8 @@ def geom_density2d(mapping=None, *, data=None, stat=None, position=None, show_le
|
|
|
4501
4741
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
4502
4742
|
show_legend : bool, default=True
|
|
4503
4743
|
False - do not show legend for this layer.
|
|
4744
|
+
inherit_aes : bool, default=True
|
|
4745
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
4504
4746
|
manual_key : str or `layer_key`
|
|
4505
4747
|
The key to show in the manual legend.
|
|
4506
4748
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -4510,6 +4752,7 @@ def geom_density2d(mapping=None, *, data=None, stat=None, position=None, show_le
|
|
|
4510
4752
|
tooltips : `layer_tooltips`
|
|
4511
4753
|
Result of the call to the `layer_tooltips()` function.
|
|
4512
4754
|
Specify appearance, style and content.
|
|
4755
|
+
Set tooltips='none' to hide tooltips from the layer.
|
|
4513
4756
|
kernel : str, default='gaussian'
|
|
4514
4757
|
The kernel we use to calculate the density function.
|
|
4515
4758
|
Choose among 'gaussian', 'cosine', 'optcosine', 'rectangular' (or 'uniform'),
|
|
@@ -4552,13 +4795,18 @@ def geom_density2d(mapping=None, *, data=None, stat=None, position=None, show_le
|
|
|
4552
4795
|
- x : x-axis coordinates.
|
|
4553
4796
|
- y : y-axis coordinates.
|
|
4554
4797
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
4555
|
-
- 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>`__.
|
|
4556
4799
|
- size : lines width.
|
|
4557
|
-
- linetype : type of the line of border.
|
|
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>`__.
|
|
4558
4801
|
- weight : used by 'density2d' stat to compute weighted density.
|
|
4559
4802
|
|
|
4560
4803
|
----
|
|
4561
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
|
+
|
|
4562
4810
|
'density2d' statistical transformation combined with parameter value `contour=False`
|
|
4563
4811
|
could be used to draw heatmaps (see the example below).
|
|
4564
4812
|
|
|
@@ -4681,6 +4929,7 @@ def geom_density2d(mapping=None, *, data=None, stat=None, position=None, show_le
|
|
|
4681
4929
|
stat=stat,
|
|
4682
4930
|
position=position,
|
|
4683
4931
|
show_legend=show_legend,
|
|
4932
|
+
inherit_aes=inherit_aes,
|
|
4684
4933
|
manual_key=manual_key,
|
|
4685
4934
|
sampling=sampling,
|
|
4686
4935
|
tooltips=tooltips,
|
|
@@ -4689,8 +4938,8 @@ def geom_density2d(mapping=None, *, data=None, stat=None, position=None, show_le
|
|
|
4689
4938
|
**other_args)
|
|
4690
4939
|
|
|
4691
4940
|
|
|
4692
|
-
def geom_density2df(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
4693
|
-
sampling=None,
|
|
4941
|
+
def geom_density2df(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
4942
|
+
manual_key=None, sampling=None,
|
|
4694
4943
|
tooltips=None,
|
|
4695
4944
|
kernel=None,
|
|
4696
4945
|
adjust=None,
|
|
@@ -4724,6 +4973,8 @@ def geom_density2df(mapping=None, *, data=None, stat=None, position=None, show_l
|
|
|
4724
4973
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
4725
4974
|
show_legend : bool, default=True
|
|
4726
4975
|
False - do not show legend for this layer.
|
|
4976
|
+
inherit_aes : bool, default=True
|
|
4977
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
4727
4978
|
manual_key : str or `layer_key`
|
|
4728
4979
|
The key to show in the manual legend.
|
|
4729
4980
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -4733,6 +4984,7 @@ def geom_density2df(mapping=None, *, data=None, stat=None, position=None, show_l
|
|
|
4733
4984
|
tooltips : `layer_tooltips`
|
|
4734
4985
|
Result of the call to the `layer_tooltips()` function.
|
|
4735
4986
|
Specify appearance, style and content.
|
|
4987
|
+
Set tooltips='none' to hide tooltips from the layer.
|
|
4736
4988
|
kernel : str, default='gaussian'
|
|
4737
4989
|
The kernel we use to calculate the density function.
|
|
4738
4990
|
Choose among 'gaussian', 'cosine', 'optcosine', 'rectangular' (or 'uniform'),
|
|
@@ -4776,7 +5028,7 @@ def geom_density2df(mapping=None, *, data=None, stat=None, position=None, show_l
|
|
|
4776
5028
|
|
|
4777
5029
|
- x : x-axis coordinates.
|
|
4778
5030
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
4779
|
-
- 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>`__.
|
|
4780
5032
|
- weight : used by 'density2df' stat to compute weighted density.
|
|
4781
5033
|
|
|
4782
5034
|
----
|
|
@@ -4798,7 +5050,7 @@ def geom_density2df(mapping=None, *, data=None, stat=None, position=None, show_l
|
|
|
4798
5050
|
x = np.random.normal(size=n)
|
|
4799
5051
|
y = np.random.normal(size=n)
|
|
4800
5052
|
ggplot({'x': x, 'y': y}, aes(x='x', y='y')) + \\
|
|
4801
|
-
geom_density2df()
|
|
5053
|
+
geom_density2df(aes(fill='..level..'))
|
|
4802
5054
|
|
|
4803
5055
|
|
|
|
4804
5056
|
|
|
@@ -4906,6 +5158,7 @@ def geom_density2df(mapping=None, *, data=None, stat=None, position=None, show_l
|
|
|
4906
5158
|
stat=stat,
|
|
4907
5159
|
position=position,
|
|
4908
5160
|
show_legend=show_legend,
|
|
5161
|
+
inherit_aes=inherit_aes,
|
|
4909
5162
|
manual_key=manual_key,
|
|
4910
5163
|
sampling=sampling,
|
|
4911
5164
|
tooltips=tooltips,
|
|
@@ -4918,7 +5171,8 @@ def geom_density2df(mapping=None, *, data=None, stat=None, position=None, show_l
|
|
|
4918
5171
|
**other_args)
|
|
4919
5172
|
|
|
4920
5173
|
|
|
4921
|
-
def geom_jitter(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
5174
|
+
def geom_jitter(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
5175
|
+
manual_key=None, sampling=None,
|
|
4922
5176
|
tooltips=None,
|
|
4923
5177
|
width=None, height=None,
|
|
4924
5178
|
color_by=None, fill_by=None,
|
|
@@ -4949,6 +5203,8 @@ def geom_jitter(mapping=None, *, data=None, stat=None, position=None, show_legen
|
|
|
4949
5203
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
4950
5204
|
show_legend : bool, default=True
|
|
4951
5205
|
False - do not show legend for this layer.
|
|
5206
|
+
inherit_aes : bool, default=True
|
|
5207
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
4952
5208
|
manual_key : str or `layer_key`
|
|
4953
5209
|
The key to show in the manual legend.
|
|
4954
5210
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -4958,6 +5214,7 @@ def geom_jitter(mapping=None, *, data=None, stat=None, position=None, show_legen
|
|
|
4958
5214
|
tooltips : `layer_tooltips`
|
|
4959
5215
|
Result of the call to the `layer_tooltips()` function.
|
|
4960
5216
|
Specify appearance, style and content.
|
|
5217
|
+
Set tooltips='none' to hide tooltips from the layer.
|
|
4961
5218
|
width : float, default=0.4
|
|
4962
5219
|
Amount of horizontal variation. The jitter is added in both directions, so the total spread is twice the specified parameter.
|
|
4963
5220
|
Typically ranges between 0 and 0.5. Values that are greater than 0.5 lead to overlapping of the points.
|
|
@@ -4992,12 +5249,17 @@ def geom_jitter(mapping=None, *, data=None, stat=None, position=None, show_legen
|
|
|
4992
5249
|
- x : x-axis value.
|
|
4993
5250
|
- y : y-axis value.
|
|
4994
5251
|
- alpha : transparency level of a point. Accept values between 0 and 1.
|
|
4995
|
-
- color (colour) : color of the geometry. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
4996
|
-
- fill : fill color. Is applied only to the points of shapes having inner area. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
4997
|
-
- shape : shape of the point, an integer from 0 to 25. For more info see https://lets-plot.org/python/pages/aesthetics.html#point-shapes.
|
|
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>`__.
|
|
4998
5255
|
- size : size of the point.
|
|
4999
5256
|
- stroke : width of the shape border. Applied only to the shapes having border.
|
|
5000
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
|
+
|
|
5001
5263
|
Examples
|
|
5002
5264
|
--------
|
|
5003
5265
|
.. jupyter-execute::
|
|
@@ -5042,6 +5304,7 @@ def geom_jitter(mapping=None, *, data=None, stat=None, position=None, show_legen
|
|
|
5042
5304
|
stat=stat,
|
|
5043
5305
|
position=position,
|
|
5044
5306
|
show_legend=show_legend,
|
|
5307
|
+
inherit_aes=inherit_aes,
|
|
5045
5308
|
manual_key=manual_key,
|
|
5046
5309
|
sampling=sampling,
|
|
5047
5310
|
tooltips=tooltips,
|
|
@@ -5051,7 +5314,8 @@ def geom_jitter(mapping=None, *, data=None, stat=None, position=None, show_legen
|
|
|
5051
5314
|
**other_args)
|
|
5052
5315
|
|
|
5053
5316
|
|
|
5054
|
-
def geom_qq(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
5317
|
+
def geom_qq(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
5318
|
+
manual_key=None, sampling=None,
|
|
5055
5319
|
tooltips=None,
|
|
5056
5320
|
distribution=None,
|
|
5057
5321
|
dparams=None,
|
|
@@ -5083,6 +5347,8 @@ def geom_qq(mapping=None, *, data=None, stat=None, position=None, show_legend=No
|
|
|
5083
5347
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
5084
5348
|
show_legend : bool, default=True
|
|
5085
5349
|
False - do not show legend for this layer.
|
|
5350
|
+
inherit_aes : bool, default=True
|
|
5351
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
5086
5352
|
manual_key : str or `layer_key`
|
|
5087
5353
|
The key to show in the manual legend.
|
|
5088
5354
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -5092,6 +5358,7 @@ def geom_qq(mapping=None, *, data=None, stat=None, position=None, show_legend=No
|
|
|
5092
5358
|
tooltips : `layer_tooltips`
|
|
5093
5359
|
Result of the call to the `layer_tooltips()` function.
|
|
5094
5360
|
Specify appearance, style and content.
|
|
5361
|
+
Set tooltips='none' to hide tooltips from the layer.
|
|
5095
5362
|
distribution : {'norm', 'uniform', 't', 'gamma', 'exp', 'chi2'}, default='norm'
|
|
5096
5363
|
Distribution function to use.
|
|
5097
5364
|
dparams : list
|
|
@@ -5134,12 +5401,17 @@ def geom_qq(mapping=None, *, data=None, stat=None, position=None, show_legend=No
|
|
|
5134
5401
|
|
|
5135
5402
|
- sample : y-axis value.
|
|
5136
5403
|
- alpha : transparency level of a point. Accept values between 0 and 1.
|
|
5137
|
-
- color (colour) : color of the geometry. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
5138
|
-
- fill : fill color. Is applied only to the points of shapes having inner area. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
5139
|
-
- shape : shape of the point, an integer from 0 to 25. For more info see https://lets-plot.org/python/pages/aesthetics.html#point-shapes.
|
|
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>`__.
|
|
5140
5407
|
- size : size of the point.
|
|
5141
5408
|
- stroke : width of the shape border. Applied only to the shapes having border.
|
|
5142
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
|
+
|
|
5143
5415
|
Examples
|
|
5144
5416
|
--------
|
|
5145
5417
|
.. jupyter-execute::
|
|
@@ -5176,6 +5448,7 @@ def geom_qq(mapping=None, *, data=None, stat=None, position=None, show_legend=No
|
|
|
5176
5448
|
stat=stat,
|
|
5177
5449
|
position=position,
|
|
5178
5450
|
show_legend=show_legend,
|
|
5451
|
+
inherit_aes=inherit_aes,
|
|
5179
5452
|
manual_key=manual_key,
|
|
5180
5453
|
sampling=sampling,
|
|
5181
5454
|
tooltips=tooltips,
|
|
@@ -5185,7 +5458,8 @@ def geom_qq(mapping=None, *, data=None, stat=None, position=None, show_legend=No
|
|
|
5185
5458
|
**other_args)
|
|
5186
5459
|
|
|
5187
5460
|
|
|
5188
|
-
def geom_qq2(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
5461
|
+
def geom_qq2(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
5462
|
+
manual_key=None, sampling=None,
|
|
5189
5463
|
tooltips=None,
|
|
5190
5464
|
color_by=None, fill_by=None,
|
|
5191
5465
|
**other_args):
|
|
@@ -5215,6 +5489,8 @@ def geom_qq2(mapping=None, *, data=None, stat=None, position=None, show_legend=N
|
|
|
5215
5489
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
5216
5490
|
show_legend : bool, default=True
|
|
5217
5491
|
False - do not show legend for this layer.
|
|
5492
|
+
inherit_aes : bool, default=True
|
|
5493
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
5218
5494
|
manual_key : str or `layer_key`
|
|
5219
5495
|
The key to show in the manual legend.
|
|
5220
5496
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -5224,6 +5500,7 @@ def geom_qq2(mapping=None, *, data=None, stat=None, position=None, show_legend=N
|
|
|
5224
5500
|
tooltips : `layer_tooltips`
|
|
5225
5501
|
Result of the call to the `layer_tooltips()` function.
|
|
5226
5502
|
Specify appearance, style and content.
|
|
5503
|
+
Set tooltips='none' to hide tooltips from the layer.
|
|
5227
5504
|
color_by : {'fill', 'color', 'paint_a', 'paint_b', 'paint_c'}, default='color'
|
|
5228
5505
|
Define the color aesthetic for the geometry.
|
|
5229
5506
|
fill_by : {'fill', 'color', 'paint_a', 'paint_b', 'paint_c'}, default='fill'
|
|
@@ -5255,12 +5532,17 @@ def geom_qq2(mapping=None, *, data=None, stat=None, position=None, show_legend=N
|
|
|
5255
5532
|
- x : x-axis value.
|
|
5256
5533
|
- y : y-axis value.
|
|
5257
5534
|
- alpha : transparency level of a point. Accept values between 0 and 1.
|
|
5258
|
-
- color (colour) : color of the geometry. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
5259
|
-
- fill : fill color. Is applied only to the points of shapes having inner area. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
5260
|
-
- shape : shape of the point, an integer from 0 to 25. For more info see https://lets-plot.org/python/pages/aesthetics.html#point-shapes.
|
|
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>`__.
|
|
5261
5538
|
- size : size of the point.
|
|
5262
5539
|
- stroke : width of the shape border. Applied only to the shapes having border.
|
|
5263
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
|
+
|
|
5264
5546
|
Examples
|
|
5265
5547
|
--------
|
|
5266
5548
|
.. jupyter-execute::
|
|
@@ -5283,6 +5565,7 @@ def geom_qq2(mapping=None, *, data=None, stat=None, position=None, show_legend=N
|
|
|
5283
5565
|
stat=stat,
|
|
5284
5566
|
position=position,
|
|
5285
5567
|
show_legend=show_legend,
|
|
5568
|
+
inherit_aes=inherit_aes,
|
|
5286
5569
|
manual_key=manual_key,
|
|
5287
5570
|
sampling=sampling,
|
|
5288
5571
|
tooltips=tooltips,
|
|
@@ -5290,7 +5573,8 @@ def geom_qq2(mapping=None, *, data=None, stat=None, position=None, show_legend=N
|
|
|
5290
5573
|
**other_args)
|
|
5291
5574
|
|
|
5292
5575
|
|
|
5293
|
-
def geom_qq_line(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
5576
|
+
def geom_qq_line(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
5577
|
+
manual_key=None, sampling=None,
|
|
5294
5578
|
tooltips=None,
|
|
5295
5579
|
distribution=None,
|
|
5296
5580
|
dparams=None,
|
|
@@ -5323,6 +5607,8 @@ def geom_qq_line(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
5323
5607
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
5324
5608
|
show_legend : bool, default=True
|
|
5325
5609
|
False - do not show legend for this layer.
|
|
5610
|
+
inherit_aes : bool, default=True
|
|
5611
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
5326
5612
|
manual_key : str or `layer_key`
|
|
5327
5613
|
The key to show in the manual legend.
|
|
5328
5614
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -5332,6 +5618,7 @@ def geom_qq_line(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
5332
5618
|
tooltips : `layer_tooltips`
|
|
5333
5619
|
Result of the call to the `layer_tooltips()` function.
|
|
5334
5620
|
Specify appearance, style and content.
|
|
5621
|
+
Set tooltips='none' to hide tooltips from the layer.
|
|
5335
5622
|
distribution : {'norm', 'uniform', 't', 'gamma', 'exp', 'chi2'}, default='norm'
|
|
5336
5623
|
Distribution function to use.
|
|
5337
5624
|
dparams : list
|
|
@@ -5371,8 +5658,8 @@ def geom_qq_line(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
5371
5658
|
|
|
5372
5659
|
- sample : y-axis value.
|
|
5373
5660
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
5374
|
-
- color (colour) : color of the geometry. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
5375
|
-
- linetype : type of the line.
|
|
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>`__.
|
|
5376
5663
|
- size : line width.
|
|
5377
5664
|
|
|
5378
5665
|
Examples
|
|
@@ -5412,6 +5699,7 @@ def geom_qq_line(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
5412
5699
|
stat=stat,
|
|
5413
5700
|
position=position,
|
|
5414
5701
|
show_legend=show_legend,
|
|
5702
|
+
inherit_aes=inherit_aes,
|
|
5415
5703
|
manual_key=manual_key,
|
|
5416
5704
|
sampling=sampling,
|
|
5417
5705
|
tooltips=tooltips,
|
|
@@ -5422,7 +5710,8 @@ def geom_qq_line(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
5422
5710
|
**other_args)
|
|
5423
5711
|
|
|
5424
5712
|
|
|
5425
|
-
def geom_qq2_line(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
5713
|
+
def geom_qq2_line(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
5714
|
+
manual_key=None,
|
|
5426
5715
|
sampling=None, tooltips=None,
|
|
5427
5716
|
quantiles=None,
|
|
5428
5717
|
color_by=None,
|
|
@@ -5453,6 +5742,8 @@ def geom_qq2_line(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
5453
5742
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
5454
5743
|
show_legend : bool, default=True
|
|
5455
5744
|
False - do not show legend for this layer.
|
|
5745
|
+
inherit_aes : bool, default=True
|
|
5746
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
5456
5747
|
manual_key : str or `layer_key`
|
|
5457
5748
|
The key to show in the manual legend.
|
|
5458
5749
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -5462,6 +5753,7 @@ def geom_qq2_line(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
5462
5753
|
tooltips : `layer_tooltips`
|
|
5463
5754
|
Result of the call to the `layer_tooltips()` function.
|
|
5464
5755
|
Specify appearance, style and content.
|
|
5756
|
+
Set tooltips='none' to hide tooltips from the layer.
|
|
5465
5757
|
quantiles : list, default=[0.25, 0.75]
|
|
5466
5758
|
Pair of quantiles to use when fitting the Q-Q line.
|
|
5467
5759
|
color_by : {'fill', 'color', 'paint_a', 'paint_b', 'paint_c'}, default='color'
|
|
@@ -5487,8 +5779,8 @@ def geom_qq2_line(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
5487
5779
|
- x : x-axis value.
|
|
5488
5780
|
- y : y-axis value.
|
|
5489
5781
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
5490
|
-
- color (colour) : color of the geometry. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
5491
|
-
- linetype : type of the line.
|
|
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>`__.
|
|
5492
5784
|
- size : line width.
|
|
5493
5785
|
|
|
5494
5786
|
Examples
|
|
@@ -5513,6 +5805,7 @@ def geom_qq2_line(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
5513
5805
|
stat=stat,
|
|
5514
5806
|
position=position,
|
|
5515
5807
|
show_legend=show_legend,
|
|
5808
|
+
inherit_aes=inherit_aes,
|
|
5516
5809
|
manual_key=manual_key,
|
|
5517
5810
|
sampling=sampling,
|
|
5518
5811
|
tooltips=tooltips,
|
|
@@ -5521,8 +5814,8 @@ def geom_qq2_line(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
5521
5814
|
**other_args)
|
|
5522
5815
|
|
|
5523
5816
|
|
|
5524
|
-
def geom_freqpoly(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
5525
|
-
sampling=None, tooltips=None,
|
|
5817
|
+
def geom_freqpoly(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
5818
|
+
manual_key=None, sampling=None, tooltips=None,
|
|
5526
5819
|
orientation=None,
|
|
5527
5820
|
color_by=None,
|
|
5528
5821
|
**other_args):
|
|
@@ -5552,6 +5845,8 @@ def geom_freqpoly(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
5552
5845
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
5553
5846
|
show_legend : bool, default=True
|
|
5554
5847
|
False - do not show legend for this layer.
|
|
5848
|
+
inherit_aes : bool, default=True
|
|
5849
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
5555
5850
|
manual_key : str or `layer_key`
|
|
5556
5851
|
The key to show in the manual legend.
|
|
5557
5852
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -5561,6 +5856,7 @@ def geom_freqpoly(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
5561
5856
|
tooltips : `layer_tooltips`
|
|
5562
5857
|
Result of the call to the `layer_tooltips()` function.
|
|
5563
5858
|
Specify appearance, style and content.
|
|
5859
|
+
Set tooltips='none' to hide tooltips from the layer.
|
|
5564
5860
|
orientation : str, default='x'
|
|
5565
5861
|
Specify the axis that the layer's stat and geom should run along.
|
|
5566
5862
|
Possible values: 'x', 'y'.
|
|
@@ -5590,9 +5886,14 @@ def geom_freqpoly(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
5590
5886
|
- x : x-axis value.
|
|
5591
5887
|
- y : y-axis value.
|
|
5592
5888
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
5593
|
-
- 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>`__.
|
|
5594
5890
|
- size : lines width.
|
|
5595
|
-
- linetype : type of the line of border.
|
|
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()`.
|
|
5596
5897
|
|
|
5597
5898
|
Examples
|
|
5598
5899
|
--------
|
|
@@ -5633,6 +5934,7 @@ def geom_freqpoly(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
5633
5934
|
stat=stat,
|
|
5634
5935
|
position=position,
|
|
5635
5936
|
show_legend=show_legend,
|
|
5937
|
+
inherit_aes=inherit_aes,
|
|
5636
5938
|
manual_key=manual_key,
|
|
5637
5939
|
sampling=sampling,
|
|
5638
5940
|
tooltips=tooltips,
|
|
@@ -5641,7 +5943,8 @@ def geom_freqpoly(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
5641
5943
|
**other_args)
|
|
5642
5944
|
|
|
5643
5945
|
|
|
5644
|
-
def geom_step(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
5946
|
+
def geom_step(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
5947
|
+
manual_key=None, sampling=None,
|
|
5645
5948
|
tooltips=None,
|
|
5646
5949
|
direction=None,
|
|
5647
5950
|
color_by=None,
|
|
@@ -5671,6 +5974,8 @@ def geom_step(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
5671
5974
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
5672
5975
|
show_legend : bool, default=True
|
|
5673
5976
|
False - do not show legend for this layer.
|
|
5977
|
+
inherit_aes : bool, default=True
|
|
5978
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
5674
5979
|
manual_key : str or `layer_key`
|
|
5675
5980
|
The key to show in the manual legend.
|
|
5676
5981
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -5680,6 +5985,7 @@ def geom_step(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
5680
5985
|
tooltips : `layer_tooltips`
|
|
5681
5986
|
Result of the call to the `layer_tooltips()` function.
|
|
5682
5987
|
Specify appearance, style and content.
|
|
5988
|
+
Set tooltips='none' to hide tooltips from the layer.
|
|
5683
5989
|
direction : {'hv', 'vh'}, default='hv'
|
|
5684
5990
|
'hv' or 'HV' stands for horizontal then vertical;
|
|
5685
5991
|
'vh' or 'VH' stands for vertical then horizontal.
|
|
@@ -5705,9 +6011,14 @@ def geom_step(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
5705
6011
|
- x : x-axis value.
|
|
5706
6012
|
- y : y-axis value.
|
|
5707
6013
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
5708
|
-
- 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>`__.
|
|
5709
6015
|
- size : line width.
|
|
5710
|
-
- linetype : type of the line.
|
|
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()`.
|
|
5711
6022
|
|
|
5712
6023
|
Examples
|
|
5713
6024
|
--------
|
|
@@ -5750,6 +6061,7 @@ def geom_step(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
5750
6061
|
stat=stat,
|
|
5751
6062
|
position=position,
|
|
5752
6063
|
show_legend=show_legend,
|
|
6064
|
+
inherit_aes=inherit_aes,
|
|
5753
6065
|
manual_key=manual_key,
|
|
5754
6066
|
sampling=sampling,
|
|
5755
6067
|
tooltips=tooltips,
|
|
@@ -5758,7 +6070,8 @@ def geom_step(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
5758
6070
|
**other_args)
|
|
5759
6071
|
|
|
5760
6072
|
|
|
5761
|
-
def geom_rect(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
6073
|
+
def geom_rect(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
6074
|
+
manual_key=None, sampling=None,
|
|
5762
6075
|
tooltips=None,
|
|
5763
6076
|
map=None, map_join=None, use_crs=None,
|
|
5764
6077
|
color_by=None, fill_by=None,
|
|
@@ -5783,6 +6096,8 @@ def geom_rect(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
5783
6096
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
5784
6097
|
show_legend : bool, default=True
|
|
5785
6098
|
False - do not show legend for this layer.
|
|
6099
|
+
inherit_aes : bool, default=True
|
|
6100
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
5786
6101
|
manual_key : str or `layer_key`
|
|
5787
6102
|
The key to show in the manual legend.
|
|
5788
6103
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -5792,6 +6107,7 @@ def geom_rect(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
5792
6107
|
tooltips : `layer_tooltips`
|
|
5793
6108
|
Result of the call to the `layer_tooltips()` function.
|
|
5794
6109
|
Specify appearance, style and content.
|
|
6110
|
+
Set tooltips='none' to hide tooltips from the layer.
|
|
5795
6111
|
map : `GeoDataFrame` or `Geocoder`
|
|
5796
6112
|
Bounding boxes of geometries will be drawn.
|
|
5797
6113
|
map_join : str or list
|
|
@@ -5829,10 +6145,10 @@ def geom_rect(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
5829
6145
|
- ymin : y-axis value.
|
|
5830
6146
|
- ymax : y-axis value.
|
|
5831
6147
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
5832
|
-
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
5833
|
-
- fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
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>`__.
|
|
5834
6150
|
- size : lines width.
|
|
5835
|
-
- linetype : type of the line.
|
|
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>`__.
|
|
5836
6152
|
|
|
5837
6153
|
----
|
|
5838
6154
|
|
|
@@ -5921,6 +6237,7 @@ def geom_rect(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
5921
6237
|
stat=stat,
|
|
5922
6238
|
position=position,
|
|
5923
6239
|
show_legend=show_legend,
|
|
6240
|
+
inherit_aes=inherit_aes,
|
|
5924
6241
|
manual_key=manual_key,
|
|
5925
6242
|
sampling=sampling,
|
|
5926
6243
|
tooltips=tooltips,
|
|
@@ -5929,7 +6246,8 @@ def geom_rect(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
5929
6246
|
**other_args)
|
|
5930
6247
|
|
|
5931
6248
|
|
|
5932
|
-
def geom_segment(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
6249
|
+
def geom_segment(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
6250
|
+
manual_key=None, sampling=None,
|
|
5933
6251
|
tooltips=None,
|
|
5934
6252
|
arrow=None, flat=None, geodesic=None, spacer=None, color_by=None, **other_args):
|
|
5935
6253
|
"""
|
|
@@ -5957,6 +6275,8 @@ def geom_segment(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
5957
6275
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
5958
6276
|
show_legend : bool, default=True
|
|
5959
6277
|
False - do not show legend for this layer.
|
|
6278
|
+
inherit_aes : bool, default=True
|
|
6279
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
5960
6280
|
manual_key : str or `layer_key`
|
|
5961
6281
|
The key to show in the manual legend.
|
|
5962
6282
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -5966,6 +6286,7 @@ def geom_segment(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
5966
6286
|
tooltips : `layer_tooltips`
|
|
5967
6287
|
Result of the call to the `layer_tooltips()` function.
|
|
5968
6288
|
Specify appearance, style and content.
|
|
6289
|
+
Set tooltips='none' to hide tooltips from the layer.
|
|
5969
6290
|
arrow : `FeatureSpec`
|
|
5970
6291
|
Specification for arrow head, as created by `arrow()` function.
|
|
5971
6292
|
flat : bool, default=False.
|
|
@@ -5999,9 +6320,9 @@ def geom_segment(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
5999
6320
|
- xend : x-axis value.
|
|
6000
6321
|
- yend : y-axis value.
|
|
6001
6322
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
6002
|
-
- 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>`__.
|
|
6003
6324
|
- size : line width.
|
|
6004
|
-
- linetype : type of the line.
|
|
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>`__.
|
|
6005
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).
|
|
6006
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).
|
|
6007
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).
|
|
@@ -6072,6 +6393,7 @@ def geom_segment(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
6072
6393
|
stat=stat,
|
|
6073
6394
|
position=position,
|
|
6074
6395
|
show_legend=show_legend,
|
|
6396
|
+
inherit_aes=inherit_aes,
|
|
6075
6397
|
manual_key=manual_key,
|
|
6076
6398
|
sampling=sampling,
|
|
6077
6399
|
tooltips=tooltips,
|
|
@@ -6083,7 +6405,8 @@ def geom_segment(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
6083
6405
|
**other_args)
|
|
6084
6406
|
|
|
6085
6407
|
|
|
6086
|
-
def geom_curve(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
6408
|
+
def geom_curve(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
6409
|
+
manual_key=None, sampling=None,
|
|
6087
6410
|
tooltips=None,
|
|
6088
6411
|
arrow=None,
|
|
6089
6412
|
curvature=None, angle=None, ncp=None,
|
|
@@ -6114,6 +6437,8 @@ def geom_curve(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
6114
6437
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
6115
6438
|
show_legend : bool, default=True
|
|
6116
6439
|
False - do not show legend for this layer.
|
|
6440
|
+
inherit_aes : bool, default=True
|
|
6441
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
6117
6442
|
manual_key : str or `layer_key`
|
|
6118
6443
|
The key to show in the manual legend.
|
|
6119
6444
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -6123,6 +6448,7 @@ def geom_curve(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
6123
6448
|
tooltips : `layer_tooltips`
|
|
6124
6449
|
Result of the call to the `layer_tooltips()` function.
|
|
6125
6450
|
Specify appearance, style and content.
|
|
6451
|
+
Set tooltips='none' to hide tooltips from the layer.
|
|
6126
6452
|
arrow : `FeatureSpec`
|
|
6127
6453
|
Specification for arrow head, as created by `arrow()` function.
|
|
6128
6454
|
curvature : float, default=0.5
|
|
@@ -6161,9 +6487,9 @@ def geom_curve(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
6161
6487
|
- xend : x-axis value.
|
|
6162
6488
|
- yend : y-axis value.
|
|
6163
6489
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
6164
|
-
- 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>`__.
|
|
6165
6491
|
- size : line width.
|
|
6166
|
-
- linetype : type of the line.
|
|
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>`__.
|
|
6167
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).
|
|
6168
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).
|
|
6169
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).
|
|
@@ -6230,6 +6556,7 @@ def geom_curve(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
6230
6556
|
stat=stat,
|
|
6231
6557
|
position=position,
|
|
6232
6558
|
show_legend=show_legend,
|
|
6559
|
+
inherit_aes=inherit_aes,
|
|
6233
6560
|
manual_key=manual_key,
|
|
6234
6561
|
sampling=sampling,
|
|
6235
6562
|
tooltips=tooltips,
|
|
@@ -6240,7 +6567,8 @@ def geom_curve(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
6240
6567
|
**other_args)
|
|
6241
6568
|
|
|
6242
6569
|
|
|
6243
|
-
def geom_spoke(mapping=None, *, data=None, position=None, show_legend=None,
|
|
6570
|
+
def geom_spoke(mapping=None, *, data=None, position=None, show_legend=None, inherit_aes=None,
|
|
6571
|
+
manual_key=None, sampling=None,
|
|
6244
6572
|
tooltips=None,
|
|
6245
6573
|
arrow=None, pivot=None,
|
|
6246
6574
|
color_by=None, **other_args):
|
|
@@ -6262,6 +6590,8 @@ def geom_spoke(mapping=None, *, data=None, position=None, show_legend=None, manu
|
|
|
6262
6590
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
6263
6591
|
show_legend : bool, default=True
|
|
6264
6592
|
False - do not show legend for this layer.
|
|
6593
|
+
inherit_aes : bool, default=True
|
|
6594
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
6265
6595
|
manual_key : str or `layer_key`
|
|
6266
6596
|
The key to show in the manual legend.
|
|
6267
6597
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -6271,6 +6601,7 @@ def geom_spoke(mapping=None, *, data=None, position=None, show_legend=None, manu
|
|
|
6271
6601
|
tooltips : `layer_tooltips`
|
|
6272
6602
|
Result of the call to the `layer_tooltips()` function.
|
|
6273
6603
|
Specify appearance, style and content.
|
|
6604
|
+
Set tooltips='none' to hide tooltips from the layer.
|
|
6274
6605
|
arrow : `FeatureSpec`
|
|
6275
6606
|
Specification for arrow head, as created by `arrow()` function.
|
|
6276
6607
|
pivot : {'tail', 'middle', 'mid', 'tip'}, default='tail'
|
|
@@ -6297,9 +6628,9 @@ def geom_spoke(mapping=None, *, data=None, position=None, show_legend=None, manu
|
|
|
6297
6628
|
- angle : slope's angle in radians.
|
|
6298
6629
|
- radius : segment length.
|
|
6299
6630
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
6300
|
-
- 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>`__.
|
|
6301
6632
|
- size : line width.
|
|
6302
|
-
- linetype : type of the line.
|
|
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>`__.
|
|
6303
6634
|
|
|
6304
6635
|
Examples
|
|
6305
6636
|
--------
|
|
@@ -6364,6 +6695,7 @@ def geom_spoke(mapping=None, *, data=None, position=None, show_legend=None, manu
|
|
|
6364
6695
|
stat=None,
|
|
6365
6696
|
position=position,
|
|
6366
6697
|
show_legend=show_legend,
|
|
6698
|
+
inherit_aes=inherit_aes,
|
|
6367
6699
|
manual_key=manual_key,
|
|
6368
6700
|
sampling=sampling,
|
|
6369
6701
|
tooltips=tooltips,
|
|
@@ -6373,13 +6705,15 @@ def geom_spoke(mapping=None, *, data=None, position=None, show_legend=None, manu
|
|
|
6373
6705
|
**other_args)
|
|
6374
6706
|
|
|
6375
6707
|
|
|
6376
|
-
def geom_text(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
6708
|
+
def geom_text(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
6709
|
+
manual_key=None, sampling=None,
|
|
6377
6710
|
tooltips=None,
|
|
6378
6711
|
map=None, map_join=None, use_crs=None,
|
|
6379
6712
|
label_format=None,
|
|
6380
6713
|
na_text=None,
|
|
6381
6714
|
nudge_x=None, nudge_y=None,
|
|
6382
6715
|
size_unit=None,
|
|
6716
|
+
check_overlap=None,
|
|
6383
6717
|
color_by=None,
|
|
6384
6718
|
**other_args):
|
|
6385
6719
|
"""
|
|
@@ -6407,6 +6741,8 @@ def geom_text(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
6407
6741
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
6408
6742
|
show_legend : bool, default=True
|
|
6409
6743
|
False - do not show legend for this layer.
|
|
6744
|
+
inherit_aes : bool, default=True
|
|
6745
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
6410
6746
|
manual_key : str or `layer_key`
|
|
6411
6747
|
The key to show in the manual legend.
|
|
6412
6748
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -6416,6 +6752,7 @@ def geom_text(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
6416
6752
|
tooltips : `layer_tooltips`
|
|
6417
6753
|
Result of the call to the `layer_tooltips()` function.
|
|
6418
6754
|
Specify appearance, style and content.
|
|
6755
|
+
Set tooltips='none' to hide tooltips from the layer.
|
|
6419
6756
|
map : `GeoDataFrame` or `Geocoder`
|
|
6420
6757
|
Data containing coordinates of points.
|
|
6421
6758
|
map_join : str or list
|
|
@@ -6435,7 +6772,7 @@ def geom_text(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
6435
6772
|
- 'Num {}' -> 'Num 12.456789'
|
|
6436
6773
|
- 'TTL: {.2f}$' -> 'TTL: 12.45$'
|
|
6437
6774
|
|
|
6438
|
-
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>`__.
|
|
6439
6776
|
na_text : str, default='n/a'
|
|
6440
6777
|
Text to show for missing values.
|
|
6441
6778
|
nudge_x : float
|
|
@@ -6445,6 +6782,8 @@ def geom_text(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
6445
6782
|
size_unit : {'x', 'y'}
|
|
6446
6783
|
Relate the size of the text to the length of the unit step along one of the axes.
|
|
6447
6784
|
If None, no fitting is performed.
|
|
6785
|
+
check_overlap : bool, default=False
|
|
6786
|
+
If True, skip plotting text that overlaps previous text in the same layer.
|
|
6448
6787
|
color_by : {'fill', 'color', 'paint_a', 'paint_b', 'paint_c'}, default='color'
|
|
6449
6788
|
Define the color aesthetic for the geometry.
|
|
6450
6789
|
other_args
|
|
@@ -6467,11 +6806,11 @@ def geom_text(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
6467
6806
|
- x : x-axis value.
|
|
6468
6807
|
- y : y-axis value.
|
|
6469
6808
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
6470
|
-
- 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>`__.
|
|
6471
6810
|
- size : font size.
|
|
6472
6811
|
- label : text to add to plot.
|
|
6473
|
-
- family : font family. For more info see https://lets-plot.org/python/pages/aesthetics.html#text.
|
|
6474
|
-
- fontface : font style and weight. For more info see https://lets-plot.org/python/pages/aesthetics.html#text.
|
|
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>`__.
|
|
6475
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).
|
|
6476
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).
|
|
6477
6816
|
- angle : text rotation angle in degrees.
|
|
@@ -6586,6 +6925,7 @@ def geom_text(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
6586
6925
|
stat=stat,
|
|
6587
6926
|
position=position,
|
|
6588
6927
|
show_legend=show_legend,
|
|
6928
|
+
inherit_aes=inherit_aes,
|
|
6589
6929
|
manual_key=manual_key,
|
|
6590
6930
|
sampling=sampling,
|
|
6591
6931
|
tooltips=tooltips,
|
|
@@ -6594,11 +6934,13 @@ def geom_text(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
6594
6934
|
na_text=na_text,
|
|
6595
6935
|
nudge_x=nudge_x, nudge_y=nudge_y,
|
|
6596
6936
|
size_unit=size_unit,
|
|
6937
|
+
check_overlap=check_overlap,
|
|
6597
6938
|
color_by=color_by,
|
|
6598
6939
|
**other_args)
|
|
6599
6940
|
|
|
6600
6941
|
|
|
6601
|
-
def geom_label(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
6942
|
+
def geom_label(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
6943
|
+
manual_key=None, sampling=None,
|
|
6602
6944
|
tooltips=None,
|
|
6603
6945
|
map=None, map_join=None, use_crs=None,
|
|
6604
6946
|
label_format=None,
|
|
@@ -6607,6 +6949,7 @@ def geom_label(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
6607
6949
|
label_padding=None, label_r=None, label_size=None,
|
|
6608
6950
|
alpha_stroke=None,
|
|
6609
6951
|
size_unit=None,
|
|
6952
|
+
check_overlap=None,
|
|
6610
6953
|
color_by=None, fill_by=None,
|
|
6611
6954
|
**other_args):
|
|
6612
6955
|
"""
|
|
@@ -6634,6 +6977,8 @@ def geom_label(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
6634
6977
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
6635
6978
|
show_legend : bool, default=True
|
|
6636
6979
|
False - do not show legend for this layer.
|
|
6980
|
+
inherit_aes : bool, default=True
|
|
6981
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
6637
6982
|
manual_key : str or `layer_key`
|
|
6638
6983
|
The key to show in the manual legend.
|
|
6639
6984
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -6643,6 +6988,7 @@ def geom_label(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
6643
6988
|
tooltips : `layer_tooltips`
|
|
6644
6989
|
Result of the call to the `layer_tooltips()` function.
|
|
6645
6990
|
Specify appearance, style and content.
|
|
6991
|
+
Set tooltips='none' to hide tooltips from the layer.
|
|
6646
6992
|
map : `GeoDataFrame` or `Geocoder`
|
|
6647
6993
|
Data containing coordinates of points.
|
|
6648
6994
|
map_join : str or list
|
|
@@ -6662,7 +7008,7 @@ def geom_label(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
6662
7008
|
- 'Num {}' -> 'Num 12.456789'
|
|
6663
7009
|
- 'TTL: {.2f}$' -> 'TTL: 12.45$'
|
|
6664
7010
|
|
|
6665
|
-
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>`__.
|
|
6666
7012
|
nudge_x : float
|
|
6667
7013
|
Horizontal adjustment to nudge labels by.
|
|
6668
7014
|
nudge_y : float
|
|
@@ -6680,6 +7026,8 @@ def geom_label(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
6680
7026
|
size_unit : {'x', 'y'}
|
|
6681
7027
|
Relate the size of the text label to the length of the unit step along one of the axes.
|
|
6682
7028
|
If None, no fitting is performed.
|
|
7029
|
+
check_overlap : bool, default=False
|
|
7030
|
+
If True, skip plotting text that overlaps previous text in the same layer.
|
|
6683
7031
|
color_by : {'fill', 'color', 'paint_a', 'paint_b', 'paint_c'}, default='color'
|
|
6684
7032
|
Define the color aesthetic for the geometry.
|
|
6685
7033
|
fill_by : {'fill', 'color', 'paint_a', 'paint_b', 'paint_c'}, default='fill'
|
|
@@ -6704,12 +7052,12 @@ def geom_label(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
6704
7052
|
- x : x-axis value.
|
|
6705
7053
|
- y : y-axis value.
|
|
6706
7054
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
6707
|
-
- 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>`__.
|
|
6708
7056
|
- fill: background color of the label.
|
|
6709
7057
|
- size : font size.
|
|
6710
7058
|
- label : text to add to plot.
|
|
6711
|
-
- family : font family. For more info see https://lets-plot.org/python/pages/aesthetics.html#text.
|
|
6712
|
-
- fontface : font style and weight. For more info see https://lets-plot.org/python/pages/aesthetics.html#text.
|
|
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>`__.
|
|
6713
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).
|
|
6714
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).
|
|
6715
7063
|
- angle : rotation angle in degrees.
|
|
@@ -6825,6 +7173,7 @@ def geom_label(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
6825
7173
|
stat=stat,
|
|
6826
7174
|
position=position,
|
|
6827
7175
|
show_legend=show_legend,
|
|
7176
|
+
inherit_aes=inherit_aes,
|
|
6828
7177
|
manual_key=manual_key,
|
|
6829
7178
|
sampling=sampling,
|
|
6830
7179
|
tooltips=tooltips,
|
|
@@ -6837,11 +7186,13 @@ def geom_label(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
6837
7186
|
label_size=label_size,
|
|
6838
7187
|
alpha_stroke=alpha_stroke,
|
|
6839
7188
|
size_unit=size_unit,
|
|
7189
|
+
check_overlap=check_overlap,
|
|
6840
7190
|
color_by=color_by, fill_by=fill_by,
|
|
6841
7191
|
**other_args)
|
|
6842
7192
|
|
|
6843
7193
|
|
|
6844
|
-
def geom_pie(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
7194
|
+
def geom_pie(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
7195
|
+
manual_key=None, sampling=None,
|
|
6845
7196
|
tooltips=None, labels=None,
|
|
6846
7197
|
map=None, map_join=None, use_crs=None,
|
|
6847
7198
|
hole=None,
|
|
@@ -6872,6 +7223,8 @@ def geom_pie(mapping=None, *, data=None, stat=None, position=None, show_legend=N
|
|
|
6872
7223
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
6873
7224
|
show_legend : bool, default=True
|
|
6874
7225
|
False - do not show legend for this layer.
|
|
7226
|
+
inherit_aes : bool, default=True
|
|
7227
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
6875
7228
|
manual_key : str or `layer_key`
|
|
6876
7229
|
The key to show in the manual legend.
|
|
6877
7230
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -6881,6 +7234,7 @@ def geom_pie(mapping=None, *, data=None, stat=None, position=None, show_legend=N
|
|
|
6881
7234
|
tooltips : `layer_tooltips`
|
|
6882
7235
|
Result of the call to the `layer_tooltips()` function.
|
|
6883
7236
|
Specify appearance, style and content.
|
|
7237
|
+
Set tooltips='none' to hide tooltips from the layer.
|
|
6884
7238
|
labels : `layer_labels`
|
|
6885
7239
|
Result of the call to the `layer_labels()` function.
|
|
6886
7240
|
Specify style and content of the annotations.
|
|
@@ -6941,7 +7295,7 @@ def geom_pie(mapping=None, *, data=None, stat=None, position=None, show_legend=N
|
|
|
6941
7295
|
- slice : values associated to pie sectors.
|
|
6942
7296
|
- explode : values to explode slices away from their center point, detaching it from the main pie. Accept values between 0 and 1.
|
|
6943
7297
|
- size : pie diameter.
|
|
6944
|
-
- 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>`__.
|
|
6945
7299
|
- alpha : transparency level of the pie. Accept values between 0 and 1.
|
|
6946
7300
|
- weight : used by 'count2d' stat to compute weighted sum instead of simple count.
|
|
6947
7301
|
- stroke : width of inner and outer arcs of pie sector.
|
|
@@ -6977,6 +7331,11 @@ def geom_pie(mapping=None, *, data=None, stat=None, position=None, show_legend=N
|
|
|
6977
7331
|
|
|
6978
7332
|
- map_join=['County_name', 'State_Name']
|
|
6979
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
|
+
|
|
6980
7339
|
Examples
|
|
6981
7340
|
--------
|
|
6982
7341
|
.. jupyter-execute::
|
|
@@ -7069,6 +7428,7 @@ def geom_pie(mapping=None, *, data=None, stat=None, position=None, show_legend=N
|
|
|
7069
7428
|
stat=stat,
|
|
7070
7429
|
position=position,
|
|
7071
7430
|
show_legend=show_legend,
|
|
7431
|
+
inherit_aes=inherit_aes,
|
|
7072
7432
|
manual_key=manual_key,
|
|
7073
7433
|
sampling=sampling,
|
|
7074
7434
|
tooltips=tooltips,
|
|
@@ -7083,8 +7443,8 @@ def geom_pie(mapping=None, *, data=None, stat=None, position=None, show_legend=N
|
|
|
7083
7443
|
**other_args)
|
|
7084
7444
|
|
|
7085
7445
|
|
|
7086
|
-
def geom_lollipop(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
7087
|
-
sampling=None, tooltips=None,
|
|
7446
|
+
def geom_lollipop(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
7447
|
+
manual_key=None, sampling=None, tooltips=None,
|
|
7088
7448
|
orientation=None,
|
|
7089
7449
|
dir=None, fatten=None, slope=None, intercept=None,
|
|
7090
7450
|
color_by=None, fill_by=None,
|
|
@@ -7114,6 +7474,8 @@ def geom_lollipop(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
7114
7474
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
7115
7475
|
show_legend : bool, default=True
|
|
7116
7476
|
False - do not show legend for this layer.
|
|
7477
|
+
inherit_aes : bool, default=True
|
|
7478
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
7117
7479
|
manual_key : str or `layer_key`
|
|
7118
7480
|
The key to show in the manual legend.
|
|
7119
7481
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -7123,6 +7485,7 @@ def geom_lollipop(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
7123
7485
|
tooltips : `layer_tooltips`
|
|
7124
7486
|
Result of the call to the `layer_tooltips()` function.
|
|
7125
7487
|
Specify appearance, style and content.
|
|
7488
|
+
Set tooltips='none' to hide tooltips from the layer.
|
|
7126
7489
|
orientation : str
|
|
7127
7490
|
Specify the axis that the layer's stat and geom should run along.
|
|
7128
7491
|
The default value (None) automatically determines the orientation based on the aesthetic mapping.
|
|
@@ -7158,19 +7521,24 @@ def geom_lollipop(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
7158
7521
|
- x : x-axis value.
|
|
7159
7522
|
- y : y-axis value.
|
|
7160
7523
|
- alpha : transparency level of the point. Accept values between 0 and 1.
|
|
7161
|
-
- color (colour) : color of the geometry. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
7162
|
-
- fill : fill color. Is applied only to the points of shapes having inner area. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
7163
|
-
- shape : shape of the point, an integer from 0 to 25. For more info see https://lets-plot.org/python/pages/aesthetics.html#point-shapes.
|
|
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>`__.
|
|
7164
7527
|
- size : size of the point.
|
|
7165
7528
|
- stroke : width of the shape border. Applied only to the shapes having border.
|
|
7166
7529
|
- linewidth : stick width.
|
|
7167
|
-
- linetype : type of the stick line.
|
|
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>`__.
|
|
7168
7531
|
|
|
7169
7532
|
----
|
|
7170
7533
|
|
|
7171
7534
|
When `slope=0`, the baseline cannot be parallel to the lollipop sticks.
|
|
7172
7535
|
So, in this case, if `dir='h'`, the baseline will becomes vertical, as for infinity slope.
|
|
7173
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
|
+
|
|
7174
7542
|
Examples
|
|
7175
7543
|
--------
|
|
7176
7544
|
.. jupyter-execute::
|
|
@@ -7227,6 +7595,7 @@ def geom_lollipop(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
7227
7595
|
stat=stat,
|
|
7228
7596
|
position=position,
|
|
7229
7597
|
show_legend=show_legend,
|
|
7598
|
+
inherit_aes=inherit_aes,
|
|
7230
7599
|
manual_key=manual_key,
|
|
7231
7600
|
sampling=sampling,
|
|
7232
7601
|
tooltips=tooltips,
|
|
@@ -7236,7 +7605,8 @@ def geom_lollipop(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
7236
7605
|
**other_args)
|
|
7237
7606
|
|
|
7238
7607
|
|
|
7239
|
-
def geom_count(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
7608
|
+
def geom_count(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
7609
|
+
manual_key=None, sampling=None,
|
|
7240
7610
|
tooltips=None,
|
|
7241
7611
|
color_by=None, fill_by=None,
|
|
7242
7612
|
**other_args):
|
|
@@ -7260,6 +7630,8 @@ def geom_count(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
7260
7630
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
7261
7631
|
show_legend : bool, default=True
|
|
7262
7632
|
False - do not show legend for this layer.
|
|
7633
|
+
inherit_aes : bool, default=True
|
|
7634
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
7263
7635
|
manual_key : str or `layer_key`
|
|
7264
7636
|
The key to show in the manual legend.
|
|
7265
7637
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -7269,6 +7641,7 @@ def geom_count(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
7269
7641
|
tooltips : `layer_tooltips`
|
|
7270
7642
|
Result of the call to the `layer_tooltips()` function.
|
|
7271
7643
|
Specify appearance, style and content.
|
|
7644
|
+
Set tooltips='none' to hide tooltips from the layer.
|
|
7272
7645
|
color_by : {'fill', 'color', 'paint_a', 'paint_b', 'paint_c'}, default='color'
|
|
7273
7646
|
Define the color aesthetic for the geometry.
|
|
7274
7647
|
fill_by : {'fill', 'color', 'paint_a', 'paint_b', 'paint_c'}, default='fill'
|
|
@@ -7297,12 +7670,17 @@ def geom_count(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
7297
7670
|
- x : x-axis coordinates.
|
|
7298
7671
|
- y : y-axis coordinates.
|
|
7299
7672
|
- alpha : transparency level of the point. Accept values between 0 and 1.
|
|
7300
|
-
- color (colour) : color of the geometry. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
7301
|
-
- fill : fill color. Is applied only to the points of shapes having inner area. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
7302
|
-
- shape : shape of the point, an integer from 0 to 25. For more info see https://lets-plot.org/python/pages/aesthetics.html#point-shapes.
|
|
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>`__.
|
|
7303
7676
|
- size : size of the point.
|
|
7304
7677
|
- stroke : width of the shape border. Applied only to the shapes having border.
|
|
7305
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
|
+
|
|
7306
7684
|
Examples
|
|
7307
7685
|
--------
|
|
7308
7686
|
.. jupyter-execute::
|
|
@@ -7343,6 +7721,7 @@ def geom_count(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
7343
7721
|
stat=stat,
|
|
7344
7722
|
position=position,
|
|
7345
7723
|
show_legend=show_legend,
|
|
7724
|
+
inherit_aes=inherit_aes,
|
|
7346
7725
|
manual_key=manual_key,
|
|
7347
7726
|
sampling=sampling,
|
|
7348
7727
|
tooltips=tooltips,
|
|
@@ -7350,12 +7729,140 @@ def geom_count(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
7350
7729
|
**other_args)
|
|
7351
7730
|
|
|
7352
7731
|
|
|
7732
|
+
def geom_blank(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=False,
|
|
7733
|
+
manual_key=None,
|
|
7734
|
+
sampling=None,
|
|
7735
|
+
map=None, map_join=None, use_crs=None,
|
|
7736
|
+
color_by=None, fill_by=None,
|
|
7737
|
+
**other_args):
|
|
7738
|
+
"""
|
|
7739
|
+
Draw nothing, but can be a useful way of ensuring common scales between different plots (see `expand_limits()`).
|
|
7740
|
+
Also, can help to avoid the "No layers in plot" error when building plots using automated tools.
|
|
7741
|
+
|
|
7742
|
+
Parameters
|
|
7743
|
+
----------
|
|
7744
|
+
mapping : `FeatureSpec`
|
|
7745
|
+
Set of aesthetic mappings created by `aes()` function.
|
|
7746
|
+
Aesthetic mappings describe the way that variables in the data are
|
|
7747
|
+
mapped to plot "aesthetics".
|
|
7748
|
+
data : dict or Pandas or Polars `DataFrame` or `GeoDataFrame`
|
|
7749
|
+
The data to be displayed in this layer. If None, the default, the data
|
|
7750
|
+
is inherited from the plot data as specified in the call to ggplot.
|
|
7751
|
+
stat : str, default='identity'
|
|
7752
|
+
The statistical transformation to use on the data for this layer, as a string.
|
|
7753
|
+
Supported transformations: 'identity' (leaves the data unchanged),
|
|
7754
|
+
'count' (counts number of points with same x-axis coordinate),
|
|
7755
|
+
'bin' (counts number of points with x-axis coordinate in the same bin),
|
|
7756
|
+
'smooth' (performs smoothing - linear default),
|
|
7757
|
+
'density' (computes and draws kernel density estimate),
|
|
7758
|
+
'sum' (counts the number of points at each location - might help to workaround overplotting).
|
|
7759
|
+
position : str or `FeatureSpec`, default='identity'
|
|
7760
|
+
Position adjustment.
|
|
7761
|
+
Either a position adjustment name: 'dodge', 'dodgev', 'jitter', 'nudge', 'jitterdodge', 'fill',
|
|
7762
|
+
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
7763
|
+
show_legend : bool, default=True
|
|
7764
|
+
False - do not show legend for this layer.
|
|
7765
|
+
inherit_aes : bool, default=False
|
|
7766
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
7767
|
+
manual_key : str or `layer_key`
|
|
7768
|
+
The key to show in the manual legend.
|
|
7769
|
+
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
7770
|
+
sampling : `FeatureSpec`
|
|
7771
|
+
Result of the call to the `sampling_xxx()` function.
|
|
7772
|
+
To prevent any sampling for this layer pass value "none" (string "none").
|
|
7773
|
+
map : `GeoDataFrame` or `Geocoder`
|
|
7774
|
+
Data containing coordinates of points.
|
|
7775
|
+
map_join : str or list
|
|
7776
|
+
Keys used to join map coordinates with data.
|
|
7777
|
+
First value in pair - column/columns in `data`.
|
|
7778
|
+
Second value in pair - column/columns in `map`.
|
|
7779
|
+
use_crs : str, optional, default="EPSG:4326" (aka WGS84)
|
|
7780
|
+
EPSG code of the coordinate reference system (CRS) or the keyword "provided".
|
|
7781
|
+
If an EPSG code is given, then all the coordinates in `GeoDataFrame` (see the `map` parameter)
|
|
7782
|
+
will be projected to this CRS.
|
|
7783
|
+
Specify "provided" to disable any further re-projection and to keep the `GeoDataFrame's` original CRS.
|
|
7784
|
+
color_by : {'fill', 'color', 'paint_a', 'paint_b', 'paint_c'}, default='color'
|
|
7785
|
+
Define the color aesthetic for the geometry.
|
|
7786
|
+
fill_by : {'fill', 'color', 'paint_a', 'paint_b', 'paint_c'}, default='fill'
|
|
7787
|
+
Define the fill aesthetic for the geometry.
|
|
7788
|
+
other_args
|
|
7789
|
+
Other arguments passed on to the layer.
|
|
7790
|
+
These are often aesthetics settings used to set an aesthetic to a fixed value,
|
|
7791
|
+
like color='red', fill='blue', size=3 or shape=21.
|
|
7792
|
+
They may also be parameters to the paired geom/stat.
|
|
7793
|
+
|
|
7794
|
+
Returns
|
|
7795
|
+
-------
|
|
7796
|
+
`LayerSpec`
|
|
7797
|
+
Geom object specification.
|
|
7798
|
+
|
|
7799
|
+
Notes
|
|
7800
|
+
-----
|
|
7801
|
+
The point geometry is used to create scatterplots.
|
|
7802
|
+
The scatterplot is useful for displaying the relationship between
|
|
7803
|
+
two continuous variables, although it can also be used with one continuous
|
|
7804
|
+
and one categorical variable, or two categorical variables.
|
|
7805
|
+
|
|
7806
|
+
`geom_blank()` 'understands' any aesthetic mappings of `geom_point()`, but the most useful are those related to the chart guides (i.e., axes and legends):
|
|
7807
|
+
|
|
7808
|
+
- x : x-axis value.
|
|
7809
|
+
- y : y-axis value.
|
|
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>`__.
|
|
7811
|
+
- fill : fill color.
|
|
7812
|
+
|
|
7813
|
+
----
|
|
7814
|
+
|
|
7815
|
+
The `data` and `map` parameters of `GeoDataFrame` type support shapes `Point` and `MultiPoint`.
|
|
7816
|
+
|
|
7817
|
+
The `map` parameter of `Geocoder` type implicitly invokes `centroids()` function.
|
|
7818
|
+
|
|
7819
|
+
----
|
|
7820
|
+
|
|
7821
|
+
The conventions for the values of `map_join` parameter are as follows:
|
|
7822
|
+
|
|
7823
|
+
- Joining data and `GeoDataFrame` object
|
|
7824
|
+
|
|
7825
|
+
Data has a column named 'State_name' and `GeoDataFrame` has a matching column named 'state':
|
|
7826
|
+
|
|
7827
|
+
- map_join=['State_Name', 'state']
|
|
7828
|
+
- map_join=[['State_Name'], ['state']]
|
|
7829
|
+
|
|
7830
|
+
- Joining data and `Geocoder` object
|
|
7831
|
+
|
|
7832
|
+
Data has a column named 'State_name'. The matching key in `Geocoder` is always 'state' (providing it is a state-level geocoder) and can be omitted:
|
|
7833
|
+
|
|
7834
|
+
- map_join='State_Name'
|
|
7835
|
+
- map_join=['State_Name']
|
|
7836
|
+
|
|
7837
|
+
- Joining data by composite key
|
|
7838
|
+
|
|
7839
|
+
Joining by composite key works like in examples above, but instead of using a string for a simple key you need to use an array of strings for a composite key. The names in the composite key must be in the same order as in the US street addresses convention: 'city', 'county', 'state', 'country'. For example, the data has columns 'State_name' and 'County_name'. Joining with a 2-keys county level `Geocoder` object (the `Geocoder` keys 'county' and 'state' are omitted in this case):
|
|
7840
|
+
|
|
7841
|
+
- map_join=['County_name', 'State_Name']
|
|
7842
|
+
|
|
7843
|
+
"""
|
|
7844
|
+
return _geom('blank',
|
|
7845
|
+
mapping=mapping,
|
|
7846
|
+
data=data,
|
|
7847
|
+
stat=stat,
|
|
7848
|
+
position=position,
|
|
7849
|
+
show_legend=show_legend,
|
|
7850
|
+
inherit_aes=inherit_aes,
|
|
7851
|
+
manual_key=manual_key,
|
|
7852
|
+
sampling=sampling,
|
|
7853
|
+
tooltips='none',
|
|
7854
|
+
map=map, map_join=map_join, use_crs=use_crs,
|
|
7855
|
+
color_by=color_by, fill_by=fill_by,
|
|
7856
|
+
**other_args)
|
|
7857
|
+
|
|
7858
|
+
|
|
7353
7859
|
def _geom(name, *,
|
|
7354
7860
|
mapping=None,
|
|
7355
7861
|
data=None,
|
|
7356
7862
|
stat=None,
|
|
7357
7863
|
position=None,
|
|
7358
7864
|
show_legend=None,
|
|
7865
|
+
inherit_aes=None,
|
|
7359
7866
|
manual_key=None,
|
|
7360
7867
|
sampling=None,
|
|
7361
7868
|
tooltips=None,
|
|
@@ -7382,6 +7889,7 @@ def _geom(name, *,
|
|
|
7382
7889
|
mapping=mapping,
|
|
7383
7890
|
position=position,
|
|
7384
7891
|
show_legend=show_legend,
|
|
7892
|
+
inherit_aes=inherit_aes,
|
|
7385
7893
|
manual_key=manual_key,
|
|
7386
7894
|
sampling=sampling,
|
|
7387
7895
|
tooltips=tooltips,
|