lets-plot 4.4.1__cp311-cp311-win_amd64.whl → 4.5.0rc1__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/_version.py +1 -1
- lets_plot/bistro/qq.py +20 -3
- lets_plot/bistro/waterfall.py +8 -3
- 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/core.py +11 -5
- lets_plot/plot/expand_limits_.py +78 -0
- lets_plot/plot/facet.py +7 -3
- lets_plot/plot/geom.py +409 -92
- lets_plot/plot/geom_function_.py +6 -2
- lets_plot/plot/geom_imshow_.py +1 -0
- lets_plot/plot/gggrid_.py +5 -4
- lets_plot/plot/ggtb_.py +43 -1
- lets_plot/plot/label.py +2 -2
- lets_plot/plot/sampling.py +14 -4
- lets_plot/plot/stat.py +20 -4
- lets_plot/plot/subplots.py +1 -1
- lets_plot/plot/theme_.py +87 -11
- {lets_plot-4.4.1.dist-info → lets_plot-4.5.0rc1.dist-info}/METADATA +2 -1
- {lets_plot-4.4.1.dist-info → lets_plot-4.5.0rc1.dist-info}/RECORD +25 -24
- {lets_plot-4.4.1.dist-info → lets_plot-4.5.0rc1.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.0rc1.dist-info}/LICENSE +0 -0
- {lets_plot-4.4.1.dist-info → lets_plot-4.5.0rc1.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.
|
|
@@ -204,6 +208,7 @@ def geom_point(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
204
208
|
stat=stat,
|
|
205
209
|
position=position,
|
|
206
210
|
show_legend=show_legend,
|
|
211
|
+
inherit_aes=inherit_aes,
|
|
207
212
|
manual_key=manual_key,
|
|
208
213
|
sampling=sampling,
|
|
209
214
|
tooltips=tooltips,
|
|
@@ -213,7 +218,8 @@ def geom_point(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
213
218
|
**other_args)
|
|
214
219
|
|
|
215
220
|
|
|
216
|
-
def geom_path(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
221
|
+
def geom_path(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
222
|
+
manual_key=None, sampling=None,
|
|
217
223
|
tooltips=None,
|
|
218
224
|
map=None, map_join=None, use_crs=None,
|
|
219
225
|
flat=None, geodesic=None,
|
|
@@ -244,6 +250,8 @@ def geom_path(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
244
250
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
245
251
|
show_legend : bool, default=True
|
|
246
252
|
False - do not show legend for this layer.
|
|
253
|
+
inherit_aes : bool, default=True
|
|
254
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
247
255
|
manual_key : str or `layer_key`
|
|
248
256
|
The key to show in the manual legend.
|
|
249
257
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -293,7 +301,7 @@ def geom_path(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
293
301
|
- y : y-axis value.
|
|
294
302
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
295
303
|
- 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.
|
|
304
|
+
- linetype : type of the line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
297
305
|
- size : line width.
|
|
298
306
|
|
|
299
307
|
----
|
|
@@ -387,6 +395,7 @@ def geom_path(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
387
395
|
stat=stat,
|
|
388
396
|
position=position,
|
|
389
397
|
show_legend=show_legend,
|
|
398
|
+
inherit_aes=inherit_aes,
|
|
390
399
|
manual_key=manual_key,
|
|
391
400
|
sampling=sampling,
|
|
392
401
|
tooltips=tooltips,
|
|
@@ -396,7 +405,8 @@ def geom_path(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
396
405
|
**other_args)
|
|
397
406
|
|
|
398
407
|
|
|
399
|
-
def geom_line(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
408
|
+
def geom_line(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
409
|
+
manual_key=None, sampling=None,
|
|
400
410
|
tooltips=None,
|
|
401
411
|
color_by=None,
|
|
402
412
|
**other_args):
|
|
@@ -427,6 +437,8 @@ def geom_line(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
427
437
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
428
438
|
show_legend : bool, default=True
|
|
429
439
|
False - do not show legend for this layer.
|
|
440
|
+
inherit_aes : bool, default=True
|
|
441
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
430
442
|
manual_key : str or `layer_key`
|
|
431
443
|
The key to show in the manual legend.
|
|
432
444
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -460,7 +472,7 @@ def geom_line(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
460
472
|
- y : y-axis value.
|
|
461
473
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
462
474
|
- 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.
|
|
475
|
+
- linetype : type of the line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
464
476
|
- size : line width.
|
|
465
477
|
|
|
466
478
|
Examples
|
|
@@ -503,6 +515,7 @@ def geom_line(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
503
515
|
stat=stat,
|
|
504
516
|
position=position,
|
|
505
517
|
show_legend=show_legend,
|
|
518
|
+
inherit_aes=inherit_aes,
|
|
506
519
|
manual_key=manual_key,
|
|
507
520
|
sampling=sampling,
|
|
508
521
|
tooltips=tooltips,
|
|
@@ -510,7 +523,8 @@ def geom_line(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
510
523
|
**other_args)
|
|
511
524
|
|
|
512
525
|
|
|
513
|
-
def geom_smooth(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
526
|
+
def geom_smooth(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
527
|
+
manual_key=None, sampling=None,
|
|
514
528
|
tooltips=None,
|
|
515
529
|
orientation=None,
|
|
516
530
|
method=None,
|
|
@@ -548,6 +562,8 @@ def geom_smooth(mapping=None, *, data=None, stat=None, position=None, show_legen
|
|
|
548
562
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
549
563
|
show_legend : bool, default=True
|
|
550
564
|
False - do not show legend for this layer.
|
|
565
|
+
inherit_aes : bool, default=True
|
|
566
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
551
567
|
manual_key : str or `layer_key`
|
|
552
568
|
The key to show in the manual legend.
|
|
553
569
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -613,7 +629,7 @@ def geom_smooth(mapping=None, *, data=None, stat=None, position=None, show_legen
|
|
|
613
629
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
614
630
|
- color (colour) : color of the geometry. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
615
631
|
- fill : fill color for the confidence interval around the line. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
616
|
-
- linetype : type of the line of conditional mean line.
|
|
632
|
+
- linetype : type of the line of conditional mean line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
617
633
|
- size : line width. Define line width for conditional mean and confidence bounds lines.
|
|
618
634
|
|
|
619
635
|
Examples
|
|
@@ -677,6 +693,7 @@ def geom_smooth(mapping=None, *, data=None, stat=None, position=None, show_legen
|
|
|
677
693
|
stat=stat,
|
|
678
694
|
position=position,
|
|
679
695
|
show_legend=show_legend,
|
|
696
|
+
inherit_aes=inherit_aes,
|
|
680
697
|
manual_key=manual_key,
|
|
681
698
|
sampling=sampling,
|
|
682
699
|
tooltips=tooltips,
|
|
@@ -693,7 +710,8 @@ def geom_smooth(mapping=None, *, data=None, stat=None, position=None, show_legen
|
|
|
693
710
|
**other_args)
|
|
694
711
|
|
|
695
712
|
|
|
696
|
-
def geom_bar(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
713
|
+
def geom_bar(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
714
|
+
manual_key=None, sampling=None,
|
|
697
715
|
tooltips=None, labels=None,
|
|
698
716
|
orientation=None,
|
|
699
717
|
color_by=None, fill_by=None,
|
|
@@ -724,6 +742,8 @@ def geom_bar(mapping=None, *, data=None, stat=None, position=None, show_legend=N
|
|
|
724
742
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
725
743
|
show_legend : bool, default=True
|
|
726
744
|
False - do not show legend for this layer.
|
|
745
|
+
inherit_aes : bool, default=True
|
|
746
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
727
747
|
manual_key : str or `layer_key`
|
|
728
748
|
The key to show in the manual legend.
|
|
729
749
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -838,6 +858,7 @@ def geom_bar(mapping=None, *, data=None, stat=None, position=None, show_legend=N
|
|
|
838
858
|
stat=stat,
|
|
839
859
|
position=position,
|
|
840
860
|
show_legend=show_legend,
|
|
861
|
+
inherit_aes=inherit_aes,
|
|
841
862
|
manual_key=manual_key,
|
|
842
863
|
sampling=sampling,
|
|
843
864
|
tooltips=tooltips,
|
|
@@ -847,8 +868,8 @@ def geom_bar(mapping=None, *, data=None, stat=None, position=None, show_legend=N
|
|
|
847
868
|
**other_args)
|
|
848
869
|
|
|
849
870
|
|
|
850
|
-
def geom_histogram(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
851
|
-
sampling=None, threshold=None,
|
|
871
|
+
def geom_histogram(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
872
|
+
manual_key=None, sampling=None, threshold=None,
|
|
852
873
|
tooltips=None, labels=None,
|
|
853
874
|
orientation=None,
|
|
854
875
|
bins=None,
|
|
@@ -883,6 +904,8 @@ def geom_histogram(mapping=None, *, data=None, stat=None, position=None, show_le
|
|
|
883
904
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
884
905
|
show_legend : bool, default=True
|
|
885
906
|
False - do not show legend for this layer.
|
|
907
|
+
inherit_aes : bool, default=True
|
|
908
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
886
909
|
manual_key : str or `layer_key`
|
|
887
910
|
The key to show in the manual legend.
|
|
888
911
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -1000,6 +1023,7 @@ def geom_histogram(mapping=None, *, data=None, stat=None, position=None, show_le
|
|
|
1000
1023
|
stat=stat,
|
|
1001
1024
|
position=position,
|
|
1002
1025
|
show_legend=show_legend,
|
|
1026
|
+
inherit_aes=inherit_aes,
|
|
1003
1027
|
manual_key=manual_key,
|
|
1004
1028
|
sampling=sampling,
|
|
1005
1029
|
threshold=threshold,
|
|
@@ -1014,7 +1038,8 @@ def geom_histogram(mapping=None, *, data=None, stat=None, position=None, show_le
|
|
|
1014
1038
|
**other_args)
|
|
1015
1039
|
|
|
1016
1040
|
|
|
1017
|
-
def geom_dotplot(mapping=None, *, data=None, show_legend=None,
|
|
1041
|
+
def geom_dotplot(mapping=None, *, data=None, show_legend=None, inherit_aes=None,
|
|
1042
|
+
manual_key=None, sampling=None, tooltips=None,
|
|
1018
1043
|
binwidth=None,
|
|
1019
1044
|
bins=None,
|
|
1020
1045
|
method=None,
|
|
@@ -1041,6 +1066,8 @@ def geom_dotplot(mapping=None, *, data=None, show_legend=None, manual_key=None,
|
|
|
1041
1066
|
is inherited from the plot data as specified in the call to ggplot.
|
|
1042
1067
|
show_legend : bool, default=True
|
|
1043
1068
|
False - do not show legend for this layer.
|
|
1069
|
+
inherit_aes : bool, default=True
|
|
1070
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
1044
1071
|
manual_key : str or `layer_key`
|
|
1045
1072
|
The key to show in the manual legend.
|
|
1046
1073
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -1159,6 +1186,7 @@ def geom_dotplot(mapping=None, *, data=None, show_legend=None, manual_key=None,
|
|
|
1159
1186
|
stat=None,
|
|
1160
1187
|
position=None,
|
|
1161
1188
|
show_legend=show_legend,
|
|
1189
|
+
inherit_aes=inherit_aes,
|
|
1162
1190
|
manual_key=manual_key,
|
|
1163
1191
|
sampling=sampling,
|
|
1164
1192
|
tooltips=tooltips,
|
|
@@ -1175,7 +1203,8 @@ def geom_dotplot(mapping=None, *, data=None, show_legend=None, manual_key=None,
|
|
|
1175
1203
|
**other_args)
|
|
1176
1204
|
|
|
1177
1205
|
|
|
1178
|
-
def geom_bin2d(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
1206
|
+
def geom_bin2d(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
1207
|
+
manual_key=None, sampling=None,
|
|
1179
1208
|
tooltips=None,
|
|
1180
1209
|
bins=None,
|
|
1181
1210
|
binwidth=None,
|
|
@@ -1207,6 +1236,8 @@ def geom_bin2d(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
1207
1236
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
1208
1237
|
show_legend : bool, default=True
|
|
1209
1238
|
False - do not show legend for this layer.
|
|
1239
|
+
inherit_aes : bool, default=True
|
|
1240
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
1210
1241
|
manual_key : str or `layer_key`
|
|
1211
1242
|
The key to show in the manual legend.
|
|
1212
1243
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -1335,6 +1366,7 @@ def geom_bin2d(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
1335
1366
|
stat=stat,
|
|
1336
1367
|
position=position,
|
|
1337
1368
|
show_legend=show_legend,
|
|
1369
|
+
inherit_aes=inherit_aes,
|
|
1338
1370
|
manual_key=manual_key,
|
|
1339
1371
|
sampling=sampling,
|
|
1340
1372
|
tooltips=tooltips,
|
|
@@ -1345,7 +1377,8 @@ def geom_bin2d(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
1345
1377
|
**other_args)
|
|
1346
1378
|
|
|
1347
1379
|
|
|
1348
|
-
def geom_tile(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
1380
|
+
def geom_tile(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
1381
|
+
manual_key=None, sampling=None,
|
|
1349
1382
|
tooltips=None,
|
|
1350
1383
|
color_by=None, fill_by=None,
|
|
1351
1384
|
**other_args):
|
|
@@ -1369,6 +1402,8 @@ def geom_tile(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
1369
1402
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
1370
1403
|
show_legend : bool, default=True
|
|
1371
1404
|
False - do not show legend for this layer.
|
|
1405
|
+
inherit_aes : bool, default=True
|
|
1406
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
1372
1407
|
manual_key : str or `layer_key`
|
|
1373
1408
|
The key to show in the manual legend.
|
|
1374
1409
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -1405,7 +1440,7 @@ def geom_tile(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
1405
1440
|
- size : line width, default=0 (i.e. tiles outline initially is not visible).
|
|
1406
1441
|
- width : width of a tile. Typically range between 0 and 1. Values that are greater than 1 lead to overlapping of the tiles.
|
|
1407
1442
|
- 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.
|
|
1443
|
+
- linetype : type of the line of tile's border. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
1409
1444
|
|
|
1410
1445
|
Examples
|
|
1411
1446
|
--------
|
|
@@ -1480,6 +1515,7 @@ def geom_tile(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
1480
1515
|
stat=stat,
|
|
1481
1516
|
position=position,
|
|
1482
1517
|
show_legend=show_legend,
|
|
1518
|
+
inherit_aes=inherit_aes,
|
|
1483
1519
|
manual_key=manual_key,
|
|
1484
1520
|
sampling=sampling,
|
|
1485
1521
|
tooltips=tooltips,
|
|
@@ -1487,7 +1523,8 @@ def geom_tile(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
1487
1523
|
**other_args)
|
|
1488
1524
|
|
|
1489
1525
|
|
|
1490
|
-
def geom_raster(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
1526
|
+
def geom_raster(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
1527
|
+
manual_key=None, sampling=None,
|
|
1491
1528
|
fill_by=None,
|
|
1492
1529
|
**other_args):
|
|
1493
1530
|
"""
|
|
@@ -1512,6 +1549,8 @@ def geom_raster(mapping=None, *, data=None, stat=None, position=None, show_legen
|
|
|
1512
1549
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
1513
1550
|
show_legend : bool, default=True
|
|
1514
1551
|
False - do not show legend for this layer.
|
|
1552
|
+
inherit_aes : bool, default=True
|
|
1553
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
1515
1554
|
manual_key : str or `layer_key`
|
|
1516
1555
|
The key to show in the manual legend.
|
|
1517
1556
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -1572,13 +1611,15 @@ def geom_raster(mapping=None, *, data=None, stat=None, position=None, show_legen
|
|
|
1572
1611
|
stat=stat,
|
|
1573
1612
|
position=position,
|
|
1574
1613
|
show_legend=show_legend,
|
|
1614
|
+
inherit_aes=inherit_aes,
|
|
1575
1615
|
manual_key=manual_key,
|
|
1576
1616
|
sampling=sampling,
|
|
1577
1617
|
fill_by=fill_by,
|
|
1578
1618
|
**other_args)
|
|
1579
1619
|
|
|
1580
1620
|
|
|
1581
|
-
def geom_errorbar(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
1621
|
+
def geom_errorbar(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
1622
|
+
manual_key=None,
|
|
1582
1623
|
sampling=None, tooltips=None,
|
|
1583
1624
|
color_by=None,
|
|
1584
1625
|
**other_args):
|
|
@@ -1607,6 +1648,8 @@ def geom_errorbar(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
1607
1648
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
1608
1649
|
show_legend : bool, default=True
|
|
1609
1650
|
False - do not show legend for this layer.
|
|
1651
|
+
inherit_aes : bool, default=True
|
|
1652
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
1610
1653
|
manual_key : str or `layer_key`
|
|
1611
1654
|
The key to show in the manual legend.
|
|
1612
1655
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -1643,7 +1686,7 @@ def geom_errorbar(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
1643
1686
|
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
1644
1687
|
- size : line width. Define bar line width.
|
|
1645
1688
|
- width or height : size of the whiskers of vertical or horizontal bar, respectively. Typically range between 0 and 1. Values that are greater than 1 lead to overlapping of the bars.
|
|
1646
|
-
- linetype : type of the line.
|
|
1689
|
+
- linetype : type of the line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
1647
1690
|
|
|
1648
1691
|
Examples
|
|
1649
1692
|
--------
|
|
@@ -1708,6 +1751,7 @@ def geom_errorbar(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
1708
1751
|
stat=stat,
|
|
1709
1752
|
position=position,
|
|
1710
1753
|
show_legend=show_legend,
|
|
1754
|
+
inherit_aes=inherit_aes,
|
|
1711
1755
|
manual_key=manual_key,
|
|
1712
1756
|
sampling=sampling,
|
|
1713
1757
|
tooltips=tooltips,
|
|
@@ -1715,8 +1759,8 @@ def geom_errorbar(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
1715
1759
|
**other_args)
|
|
1716
1760
|
|
|
1717
1761
|
|
|
1718
|
-
def geom_crossbar(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
1719
|
-
sampling=None, tooltips=None,
|
|
1762
|
+
def geom_crossbar(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
1763
|
+
manual_key=None, sampling=None, tooltips=None,
|
|
1720
1764
|
fatten=None,
|
|
1721
1765
|
color_by=None, fill_by=None,
|
|
1722
1766
|
**other_args):
|
|
@@ -1745,6 +1789,8 @@ def geom_crossbar(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
1745
1789
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
1746
1790
|
show_legend : bool, default=True
|
|
1747
1791
|
False - do not show legend for this layer.
|
|
1792
|
+
inherit_aes : bool, default=True
|
|
1793
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
1748
1794
|
manual_key : str or `layer_key`
|
|
1749
1795
|
The key to show in the manual legend.
|
|
1750
1796
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -1788,7 +1834,7 @@ def geom_crossbar(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
1788
1834
|
- fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
1789
1835
|
- size : lines width.
|
|
1790
1836
|
- 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.
|
|
1837
|
+
- linetype : type of the line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
1792
1838
|
|
|
1793
1839
|
Examples
|
|
1794
1840
|
--------
|
|
@@ -1842,6 +1888,7 @@ def geom_crossbar(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
1842
1888
|
stat=stat,
|
|
1843
1889
|
position=position,
|
|
1844
1890
|
show_legend=show_legend,
|
|
1891
|
+
inherit_aes=inherit_aes,
|
|
1845
1892
|
manual_key=manual_key,
|
|
1846
1893
|
sampling=sampling,
|
|
1847
1894
|
tooltips=tooltips,
|
|
@@ -1850,9 +1897,8 @@ def geom_crossbar(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
1850
1897
|
**other_args)
|
|
1851
1898
|
|
|
1852
1899
|
|
|
1853
|
-
def geom_pointrange(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
1854
|
-
sampling=None,
|
|
1855
|
-
tooltips=None,
|
|
1900
|
+
def geom_pointrange(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
1901
|
+
manual_key=None, sampling=None, tooltips=None,
|
|
1856
1902
|
fatten=None,
|
|
1857
1903
|
color_by=None, fill_by=None,
|
|
1858
1904
|
**other_args):
|
|
@@ -1881,6 +1927,8 @@ def geom_pointrange(mapping=None, *, data=None, stat=None, position=None, show_l
|
|
|
1881
1927
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
1882
1928
|
show_legend : bool, default=True
|
|
1883
1929
|
False - do not show legend for this layer.
|
|
1930
|
+
inherit_aes : bool, default=True
|
|
1931
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
1884
1932
|
manual_key : str or `layer_key`
|
|
1885
1933
|
The key to show in the manual legend.
|
|
1886
1934
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -1923,7 +1971,7 @@ def geom_pointrange(mapping=None, *, data=None, stat=None, position=None, show_l
|
|
|
1923
1971
|
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
1924
1972
|
- fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
1925
1973
|
- size : size of mid-point.
|
|
1926
|
-
- linetype : type of the line.
|
|
1974
|
+
- linetype : type of the line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
1927
1975
|
- shape : shape of the mid-point, an integer from 0 to 25. For more info see https://lets-plot.org/python/pages/aesthetics.html#point-shapes.
|
|
1928
1976
|
- stroke : width of the shape border. Applied only to the shapes having border.
|
|
1929
1977
|
- linewidth : line width.
|
|
@@ -1975,6 +2023,7 @@ def geom_pointrange(mapping=None, *, data=None, stat=None, position=None, show_l
|
|
|
1975
2023
|
stat=stat,
|
|
1976
2024
|
position=position,
|
|
1977
2025
|
show_legend=show_legend,
|
|
2026
|
+
inherit_aes=inherit_aes,
|
|
1978
2027
|
manual_key=manual_key,
|
|
1979
2028
|
sampling=sampling,
|
|
1980
2029
|
tooltips=tooltips,
|
|
@@ -1983,7 +2032,8 @@ def geom_pointrange(mapping=None, *, data=None, stat=None, position=None, show_l
|
|
|
1983
2032
|
**other_args)
|
|
1984
2033
|
|
|
1985
2034
|
|
|
1986
|
-
def geom_linerange(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
2035
|
+
def geom_linerange(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
2036
|
+
manual_key=None,
|
|
1987
2037
|
sampling=None, tooltips=None,
|
|
1988
2038
|
color_by=None,
|
|
1989
2039
|
**other_args):
|
|
@@ -2012,6 +2062,8 @@ def geom_linerange(mapping=None, *, data=None, stat=None, position=None, show_le
|
|
|
2012
2062
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
2013
2063
|
show_legend : bool, default=True
|
|
2014
2064
|
False - do not show legend for this layer.
|
|
2065
|
+
inherit_aes : bool, default=True
|
|
2066
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
2015
2067
|
manual_key : str or `layer_key`
|
|
2016
2068
|
The key to show in the manual legend.
|
|
2017
2069
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -2047,7 +2099,7 @@ def geom_linerange(mapping=None, *, data=None, stat=None, position=None, show_le
|
|
|
2047
2099
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
2048
2100
|
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
2049
2101
|
- size : line width.
|
|
2050
|
-
- linetype : type of the line.
|
|
2102
|
+
- linetype : type of the line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
2051
2103
|
|
|
2052
2104
|
Examples
|
|
2053
2105
|
--------
|
|
@@ -2096,6 +2148,7 @@ def geom_linerange(mapping=None, *, data=None, stat=None, position=None, show_le
|
|
|
2096
2148
|
stat=stat,
|
|
2097
2149
|
position=position,
|
|
2098
2150
|
show_legend=show_legend,
|
|
2151
|
+
inherit_aes=inherit_aes,
|
|
2099
2152
|
manual_key=manual_key,
|
|
2100
2153
|
sampling=sampling,
|
|
2101
2154
|
tooltips=tooltips,
|
|
@@ -2103,7 +2156,8 @@ def geom_linerange(mapping=None, *, data=None, stat=None, position=None, show_le
|
|
|
2103
2156
|
**other_args)
|
|
2104
2157
|
|
|
2105
2158
|
|
|
2106
|
-
def geom_contour(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
2159
|
+
def geom_contour(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
2160
|
+
manual_key=None, sampling=None,
|
|
2107
2161
|
tooltips=None,
|
|
2108
2162
|
bins=None,
|
|
2109
2163
|
binwidth=None,
|
|
@@ -2129,6 +2183,8 @@ def geom_contour(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
2129
2183
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
2130
2184
|
show_legend : bool, default=True
|
|
2131
2185
|
False - do not show legend for this layer.
|
|
2186
|
+
inherit_aes : bool, default=True
|
|
2187
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
2132
2188
|
manual_key : str or `layer_key`
|
|
2133
2189
|
The key to show in the manual legend.
|
|
2134
2190
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -2171,7 +2227,7 @@ def geom_contour(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
2171
2227
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
2172
2228
|
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
2173
2229
|
- size : lines width.
|
|
2174
|
-
- linetype : type of the line.
|
|
2230
|
+
- linetype : type of the line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
2175
2231
|
|
|
2176
2232
|
Examples
|
|
2177
2233
|
--------
|
|
@@ -2239,6 +2295,7 @@ def geom_contour(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
2239
2295
|
stat=stat,
|
|
2240
2296
|
position=position,
|
|
2241
2297
|
show_legend=show_legend,
|
|
2298
|
+
inherit_aes=inherit_aes,
|
|
2242
2299
|
manual_key=manual_key,
|
|
2243
2300
|
sampling=sampling,
|
|
2244
2301
|
tooltips=tooltips,
|
|
@@ -2247,7 +2304,8 @@ def geom_contour(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
2247
2304
|
**other_args)
|
|
2248
2305
|
|
|
2249
2306
|
|
|
2250
|
-
def geom_contourf(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
2307
|
+
def geom_contourf(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
2308
|
+
manual_key=None,
|
|
2251
2309
|
sampling=None, tooltips=None,
|
|
2252
2310
|
bins=None,
|
|
2253
2311
|
binwidth=None,
|
|
@@ -2273,6 +2331,8 @@ def geom_contourf(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
2273
2331
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
2274
2332
|
show_legend : bool, default=True
|
|
2275
2333
|
False - do not show legend for this layer.
|
|
2334
|
+
inherit_aes : bool, default=True
|
|
2335
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
2276
2336
|
manual_key : str or `layer_key`
|
|
2277
2337
|
The key to show in the manual legend.
|
|
2278
2338
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -2384,6 +2444,7 @@ def geom_contourf(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
2384
2444
|
stat=stat,
|
|
2385
2445
|
position=position,
|
|
2386
2446
|
show_legend=show_legend,
|
|
2447
|
+
inherit_aes=inherit_aes,
|
|
2387
2448
|
manual_key=manual_key,
|
|
2388
2449
|
sampling=sampling,
|
|
2389
2450
|
tooltips=tooltips,
|
|
@@ -2393,7 +2454,8 @@ def geom_contourf(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
2393
2454
|
**other_args)
|
|
2394
2455
|
|
|
2395
2456
|
|
|
2396
|
-
def geom_polygon(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
2457
|
+
def geom_polygon(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
2458
|
+
manual_key=None, sampling=None,
|
|
2397
2459
|
tooltips=None,
|
|
2398
2460
|
map=None, map_join=None, use_crs=None,
|
|
2399
2461
|
color_by=None, fill_by=None,
|
|
@@ -2418,6 +2480,8 @@ def geom_polygon(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
2418
2480
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
2419
2481
|
show_legend : bool, default=True
|
|
2420
2482
|
False - do not show legend for this layer.
|
|
2483
|
+
inherit_aes : bool, default=True
|
|
2484
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
2421
2485
|
manual_key : str or `layer_key`
|
|
2422
2486
|
The key to show in the manual legend.
|
|
2423
2487
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -2466,7 +2530,7 @@ def geom_polygon(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
2466
2530
|
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
2467
2531
|
- fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
2468
2532
|
- size : line width.
|
|
2469
|
-
- linetype : type of the line.
|
|
2533
|
+
- linetype : type of the line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
2470
2534
|
|
|
2471
2535
|
----
|
|
2472
2536
|
|
|
@@ -2567,6 +2631,7 @@ def geom_polygon(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
2567
2631
|
stat=stat,
|
|
2568
2632
|
position=position,
|
|
2569
2633
|
show_legend=show_legend,
|
|
2634
|
+
inherit_aes=inherit_aes,
|
|
2570
2635
|
manual_key=manual_key,
|
|
2571
2636
|
sampling=sampling,
|
|
2572
2637
|
tooltips=tooltips,
|
|
@@ -2575,8 +2640,8 @@ def geom_polygon(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
2575
2640
|
**other_args)
|
|
2576
2641
|
|
|
2577
2642
|
|
|
2578
|
-
def geom_map(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
2579
|
-
tooltips=None,
|
|
2643
|
+
def geom_map(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
2644
|
+
manual_key=None, sampling=None, tooltips=None,
|
|
2580
2645
|
map=None, map_join=None, use_crs=None,
|
|
2581
2646
|
color_by=None, fill_by=None,
|
|
2582
2647
|
**other_args):
|
|
@@ -2605,6 +2670,8 @@ def geom_map(mapping=None, *, data=None, stat=None, position=None, show_legend=N
|
|
|
2605
2670
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
2606
2671
|
show_legend : bool, default=True
|
|
2607
2672
|
False - do not show legend for this layer.
|
|
2673
|
+
inherit_aes : bool, default=True
|
|
2674
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
2608
2675
|
manual_key : str or `layer_key`
|
|
2609
2676
|
The key to show in the manual legend.
|
|
2610
2677
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -2652,7 +2719,7 @@ def geom_map(mapping=None, *, data=None, stat=None, position=None, show_legend=N
|
|
|
2652
2719
|
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
2653
2720
|
- fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
2654
2721
|
- size : line width.
|
|
2655
|
-
- linetype : type of the line.
|
|
2722
|
+
- linetype : type of the line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
2656
2723
|
|
|
2657
2724
|
----
|
|
2658
2725
|
|
|
@@ -2739,6 +2806,7 @@ def geom_map(mapping=None, *, data=None, stat=None, position=None, show_legend=N
|
|
|
2739
2806
|
stat=stat,
|
|
2740
2807
|
position=position,
|
|
2741
2808
|
show_legend=show_legend,
|
|
2809
|
+
inherit_aes=inherit_aes,
|
|
2742
2810
|
manual_key=manual_key,
|
|
2743
2811
|
sampling=sampling,
|
|
2744
2812
|
tooltips=tooltips,
|
|
@@ -2747,7 +2815,8 @@ def geom_map(mapping=None, *, data=None, stat=None, position=None, show_legend=N
|
|
|
2747
2815
|
**other_args)
|
|
2748
2816
|
|
|
2749
2817
|
|
|
2750
|
-
def geom_abline(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
2818
|
+
def geom_abline(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
2819
|
+
manual_key=None, sampling=None,
|
|
2751
2820
|
slope=None,
|
|
2752
2821
|
intercept=None,
|
|
2753
2822
|
color_by=None,
|
|
@@ -2772,6 +2841,8 @@ def geom_abline(mapping=None, *, data=None, stat=None, position=None, show_legen
|
|
|
2772
2841
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
2773
2842
|
show_legend : bool, default=True
|
|
2774
2843
|
False - do not show legend for this layer.
|
|
2844
|
+
inherit_aes : bool, default=True
|
|
2845
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
2775
2846
|
manual_key : str or `layer_key`
|
|
2776
2847
|
The key to show in the manual legend.
|
|
2777
2848
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -2806,7 +2877,7 @@ def geom_abline(mapping=None, *, data=None, stat=None, position=None, show_legen
|
|
|
2806
2877
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
2807
2878
|
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
2808
2879
|
- size : lines width.
|
|
2809
|
-
- linetype : type of the line.
|
|
2880
|
+
- linetype : type of the line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
2810
2881
|
|
|
2811
2882
|
Examples
|
|
2812
2883
|
--------
|
|
@@ -2852,6 +2923,7 @@ def geom_abline(mapping=None, *, data=None, stat=None, position=None, show_legen
|
|
|
2852
2923
|
stat=stat,
|
|
2853
2924
|
position=position,
|
|
2854
2925
|
show_legend=show_legend,
|
|
2926
|
+
inherit_aes=inherit_aes,
|
|
2855
2927
|
manual_key=manual_key,
|
|
2856
2928
|
sampling=sampling,
|
|
2857
2929
|
slope=slope,
|
|
@@ -2860,8 +2932,8 @@ def geom_abline(mapping=None, *, data=None, stat=None, position=None, show_legen
|
|
|
2860
2932
|
**other_args)
|
|
2861
2933
|
|
|
2862
2934
|
|
|
2863
|
-
def geom_band(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
2864
|
-
tooltips=None,
|
|
2935
|
+
def geom_band(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
2936
|
+
sampling=None, tooltips=None,
|
|
2865
2937
|
color_by=None, fill_by=None,
|
|
2866
2938
|
**other_args):
|
|
2867
2939
|
"""
|
|
@@ -2884,6 +2956,8 @@ def geom_band(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
2884
2956
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
2885
2957
|
show_legend : bool, default=True
|
|
2886
2958
|
False - do not show legend for this layer.
|
|
2959
|
+
inherit_aes : bool, default=True
|
|
2960
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
2887
2961
|
sampling : `FeatureSpec`
|
|
2888
2962
|
Result of the call to the `sampling_xxx()` function.
|
|
2889
2963
|
To prevent any sampling for this layer pass value "none" (string "none").
|
|
@@ -2917,7 +2991,7 @@ def geom_band(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
2917
2991
|
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
2918
2992
|
- fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
2919
2993
|
- size : lines width.
|
|
2920
|
-
- linetype : type of the line.
|
|
2994
|
+
- linetype : type of the line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
2921
2995
|
|
|
2922
2996
|
Examples
|
|
2923
2997
|
--------
|
|
@@ -2961,6 +3035,7 @@ def geom_band(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
2961
3035
|
stat=stat,
|
|
2962
3036
|
position=position,
|
|
2963
3037
|
show_legend=show_legend,
|
|
3038
|
+
inherit_aes=inherit_aes,
|
|
2964
3039
|
sampling=sampling,
|
|
2965
3040
|
tooltips=tooltips,
|
|
2966
3041
|
color_by=color_by,
|
|
@@ -2968,7 +3043,8 @@ def geom_band(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
2968
3043
|
**other_args)
|
|
2969
3044
|
|
|
2970
3045
|
|
|
2971
|
-
def geom_hline(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
3046
|
+
def geom_hline(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
3047
|
+
manual_key=None, sampling=None,
|
|
2972
3048
|
tooltips=None,
|
|
2973
3049
|
yintercept=None,
|
|
2974
3050
|
color_by=None,
|
|
@@ -2993,6 +3069,8 @@ def geom_hline(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
2993
3069
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
2994
3070
|
show_legend : bool, default=True
|
|
2995
3071
|
False - do not show legend for this layer.
|
|
3072
|
+
inherit_aes : bool, default=True
|
|
3073
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
2996
3074
|
manual_key : str or `layer_key`
|
|
2997
3075
|
The key to show in the manual legend.
|
|
2998
3076
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -3025,7 +3103,7 @@ def geom_hline(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
3025
3103
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
3026
3104
|
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
3027
3105
|
- size : line width.
|
|
3028
|
-
- linetype : type of the line.
|
|
3106
|
+
- linetype : type of the line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
3029
3107
|
|
|
3030
3108
|
Examples
|
|
3031
3109
|
--------
|
|
@@ -3080,6 +3158,7 @@ def geom_hline(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
3080
3158
|
stat=stat,
|
|
3081
3159
|
position=position,
|
|
3082
3160
|
show_legend=show_legend,
|
|
3161
|
+
inherit_aes=inherit_aes,
|
|
3083
3162
|
manual_key=manual_key,
|
|
3084
3163
|
sampling=sampling,
|
|
3085
3164
|
tooltips=tooltips,
|
|
@@ -3088,7 +3167,8 @@ def geom_hline(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
3088
3167
|
**other_args)
|
|
3089
3168
|
|
|
3090
3169
|
|
|
3091
|
-
def geom_vline(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
3170
|
+
def geom_vline(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
3171
|
+
manual_key=None, sampling=None,
|
|
3092
3172
|
tooltips=None,
|
|
3093
3173
|
xintercept=None,
|
|
3094
3174
|
color_by=None,
|
|
@@ -3113,6 +3193,8 @@ def geom_vline(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
3113
3193
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
3114
3194
|
show_legend : bool, default=True
|
|
3115
3195
|
False - do not show legend for this layer.
|
|
3196
|
+
inherit_aes : bool, default=True
|
|
3197
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
3116
3198
|
manual_key : str or `layer_key`
|
|
3117
3199
|
The key to show in the manual legend.
|
|
3118
3200
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -3145,7 +3227,7 @@ def geom_vline(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
3145
3227
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
3146
3228
|
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
3147
3229
|
- size : lines width.
|
|
3148
|
-
- linetype : type of the line.
|
|
3230
|
+
- linetype : type of the line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
3149
3231
|
|
|
3150
3232
|
Examples
|
|
3151
3233
|
--------
|
|
@@ -3200,6 +3282,7 @@ def geom_vline(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
3200
3282
|
stat=stat,
|
|
3201
3283
|
position=position,
|
|
3202
3284
|
show_legend=show_legend,
|
|
3285
|
+
inherit_aes=inherit_aes,
|
|
3203
3286
|
manual_key=manual_key,
|
|
3204
3287
|
sampling=sampling,
|
|
3205
3288
|
tooltips=tooltips,
|
|
@@ -3208,7 +3291,8 @@ def geom_vline(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
3208
3291
|
**other_args)
|
|
3209
3292
|
|
|
3210
3293
|
|
|
3211
|
-
def geom_boxplot(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
3294
|
+
def geom_boxplot(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
3295
|
+
manual_key=None, tooltips=None,
|
|
3212
3296
|
orientation=None,
|
|
3213
3297
|
fatten=None,
|
|
3214
3298
|
outlier_alpha=None, outlier_color=None, outlier_fill=None,
|
|
@@ -3239,6 +3323,8 @@ def geom_boxplot(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
3239
3323
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
3240
3324
|
show_legend : bool, default=True
|
|
3241
3325
|
False - do not show legend for this layer.
|
|
3326
|
+
inherit_aes : bool, default=True
|
|
3327
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
3242
3328
|
manual_key : str or `layer_key`
|
|
3243
3329
|
The key to show in the manual legend.
|
|
3244
3330
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -3306,7 +3392,7 @@ def geom_boxplot(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
3306
3392
|
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
3307
3393
|
- fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
3308
3394
|
- size : lines width.
|
|
3309
|
-
- linetype : type of the line of border.
|
|
3395
|
+
- linetype : type of the line of border. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
3310
3396
|
- width : width of boxplot. Typically ranges between 0 and 1. Values that are greater than 1 lead to overlapping of the boxes.
|
|
3311
3397
|
|
|
3312
3398
|
Examples
|
|
@@ -3393,7 +3479,8 @@ def geom_boxplot(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
3393
3479
|
stat=stat,
|
|
3394
3480
|
position=position,
|
|
3395
3481
|
show_legend=show_legend,
|
|
3396
|
-
|
|
3482
|
+
inherit_aes=inherit_aes,
|
|
3483
|
+
manual_key=manual_key,
|
|
3397
3484
|
sampling=None,
|
|
3398
3485
|
tooltips=tooltips,
|
|
3399
3486
|
orientation=orientation,
|
|
@@ -3414,6 +3501,7 @@ def geom_boxplot(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
3414
3501
|
stat='boxplot_outlier',
|
|
3415
3502
|
position=position,
|
|
3416
3503
|
show_legend=False,
|
|
3504
|
+
inherit_aes=inherit_aes,
|
|
3417
3505
|
sampling=None,
|
|
3418
3506
|
orientation=orientation,
|
|
3419
3507
|
alpha=outlier_alpha,
|
|
@@ -3426,7 +3514,8 @@ def geom_boxplot(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
3426
3514
|
return boxplot_layer
|
|
3427
3515
|
|
|
3428
3516
|
|
|
3429
|
-
def geom_violin(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
3517
|
+
def geom_violin(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
3518
|
+
manual_key=None, sampling=None,
|
|
3430
3519
|
tooltips=None,
|
|
3431
3520
|
orientation=None,
|
|
3432
3521
|
show_half=None,
|
|
@@ -3454,6 +3543,8 @@ def geom_violin(mapping=None, *, data=None, stat=None, position=None, show_legen
|
|
|
3454
3543
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
3455
3544
|
show_legend : bool, default=True
|
|
3456
3545
|
False - do not show legend for this layer.
|
|
3546
|
+
inherit_aes : bool, default=True
|
|
3547
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
3457
3548
|
manual_key : str or `layer_key`
|
|
3458
3549
|
The key to show in the manual legend.
|
|
3459
3550
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -3530,7 +3621,7 @@ def geom_violin(mapping=None, *, data=None, stat=None, position=None, show_legen
|
|
|
3530
3621
|
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
3531
3622
|
- fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
3532
3623
|
- size : lines width.
|
|
3533
|
-
- linetype : type of the line of border.
|
|
3624
|
+
- linetype : type of the line of border. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
3534
3625
|
- weight : used by 'ydensity' stat to compute weighted density.
|
|
3535
3626
|
- quantile : quantile values to draw quantile lines and fill quantiles of the geometry by color.
|
|
3536
3627
|
|
|
@@ -3634,6 +3725,7 @@ def geom_violin(mapping=None, *, data=None, stat=None, position=None, show_legen
|
|
|
3634
3725
|
stat=stat,
|
|
3635
3726
|
position=position,
|
|
3636
3727
|
show_legend=show_legend,
|
|
3728
|
+
inherit_aes=inherit_aes,
|
|
3637
3729
|
manual_key=manual_key,
|
|
3638
3730
|
sampling=sampling,
|
|
3639
3731
|
tooltips=tooltips,
|
|
@@ -3641,12 +3733,15 @@ def geom_violin(mapping=None, *, data=None, stat=None, position=None, show_legen
|
|
|
3641
3733
|
show_half=show_half,
|
|
3642
3734
|
quantiles=quantiles,
|
|
3643
3735
|
quantile_lines=quantile_lines,
|
|
3644
|
-
scale=scale, trim=trim, tails_cutoff=tails_cutoff, kernel=kernel, bw=bw, adjust=adjust, n=n,
|
|
3736
|
+
scale=scale, trim=trim, tails_cutoff=tails_cutoff, kernel=kernel, bw=bw, adjust=adjust, n=n,
|
|
3737
|
+
fs_max=fs_max,
|
|
3645
3738
|
color_by=color_by, fill_by=fill_by,
|
|
3646
3739
|
**other_args)
|
|
3647
3740
|
|
|
3648
3741
|
|
|
3649
|
-
def geom_ydotplot(mapping=None, *, data=None, show_legend=None,
|
|
3742
|
+
def geom_ydotplot(mapping=None, *, data=None, show_legend=None, inherit_aes=None,
|
|
3743
|
+
manual_key=None, sampling=None,
|
|
3744
|
+
tooltips=None,
|
|
3650
3745
|
orientation=None,
|
|
3651
3746
|
binwidth=None,
|
|
3652
3747
|
bins=None,
|
|
@@ -3675,6 +3770,8 @@ def geom_ydotplot(mapping=None, *, data=None, show_legend=None, manual_key=None,
|
|
|
3675
3770
|
is inherited from the plot data as specified in the call to ggplot.
|
|
3676
3771
|
show_legend : bool, default=True
|
|
3677
3772
|
False - do not show legend for this layer.
|
|
3773
|
+
inherit_aes : bool, default=True
|
|
3774
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
3678
3775
|
manual_key : str or `layer_key`
|
|
3679
3776
|
The key to show in the manual legend.
|
|
3680
3777
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -3811,6 +3908,7 @@ def geom_ydotplot(mapping=None, *, data=None, show_legend=None, manual_key=None,
|
|
|
3811
3908
|
stat=None,
|
|
3812
3909
|
position=None,
|
|
3813
3910
|
show_legend=show_legend,
|
|
3911
|
+
inherit_aes=inherit_aes,
|
|
3814
3912
|
manual_key=manual_key,
|
|
3815
3913
|
sampling=sampling,
|
|
3816
3914
|
tooltips=tooltips,
|
|
@@ -3828,7 +3926,8 @@ def geom_ydotplot(mapping=None, *, data=None, show_legend=None, manual_key=None,
|
|
|
3828
3926
|
**other_args)
|
|
3829
3927
|
|
|
3830
3928
|
|
|
3831
|
-
def geom_area_ridges(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
3929
|
+
def geom_area_ridges(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
3930
|
+
manual_key=None,
|
|
3832
3931
|
sampling=None, tooltips=None,
|
|
3833
3932
|
trim=None, tails_cutoff=None, kernel=None, adjust=None, bw=None, n=None, fs_max=None,
|
|
3834
3933
|
min_height=None, scale=None, quantiles=None, quantile_lines=None,
|
|
@@ -3856,6 +3955,8 @@ def geom_area_ridges(mapping=None, *, data=None, stat=None, position=None, show_
|
|
|
3856
3955
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
3857
3956
|
show_legend : bool, default=True
|
|
3858
3957
|
False - do not show legend for this layer.
|
|
3958
|
+
inherit_aes : bool, default=True
|
|
3959
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
3859
3960
|
manual_key : str or `layer_key`
|
|
3860
3961
|
The key to show in the manual legend.
|
|
3861
3962
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -3929,7 +4030,7 @@ def geom_area_ridges(mapping=None, *, data=None, stat=None, position=None, show_
|
|
|
3929
4030
|
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
3930
4031
|
- fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
3931
4032
|
- size : lines width.
|
|
3932
|
-
- linetype : type of the line of border.
|
|
4033
|
+
- linetype : type of the line of border. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
3933
4034
|
- weight : used by 'densityridges' stat to compute weighted density.
|
|
3934
4035
|
- quantile : quantile values to draw quantile lines and fill quantiles of the geometry by color.
|
|
3935
4036
|
|
|
@@ -3992,6 +4093,7 @@ def geom_area_ridges(mapping=None, *, data=None, stat=None, position=None, show_
|
|
|
3992
4093
|
stat=stat,
|
|
3993
4094
|
position=position,
|
|
3994
4095
|
show_legend=show_legend,
|
|
4096
|
+
inherit_aes=inherit_aes,
|
|
3995
4097
|
manual_key=manual_key,
|
|
3996
4098
|
sampling=sampling,
|
|
3997
4099
|
tooltips=tooltips,
|
|
@@ -4010,7 +4112,8 @@ def geom_area_ridges(mapping=None, *, data=None, stat=None, position=None, show_
|
|
|
4010
4112
|
**other_args)
|
|
4011
4113
|
|
|
4012
4114
|
|
|
4013
|
-
def geom_ribbon(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
4115
|
+
def geom_ribbon(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
4116
|
+
manual_key=None, sampling=None,
|
|
4014
4117
|
tooltips=None,
|
|
4015
4118
|
color_by=None, fill_by=None,
|
|
4016
4119
|
**other_args):
|
|
@@ -4034,6 +4137,8 @@ def geom_ribbon(mapping=None, *, data=None, stat=None, position=None, show_legen
|
|
|
4034
4137
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
4035
4138
|
show_legend : bool, default=True
|
|
4036
4139
|
False - do not show legend for this layer.
|
|
4140
|
+
inherit_aes : bool, default=True
|
|
4141
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
4037
4142
|
manual_key : str or `layer_key`
|
|
4038
4143
|
The key to show in the manual legend.
|
|
4039
4144
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -4071,7 +4176,7 @@ def geom_ribbon(mapping=None, *, data=None, stat=None, position=None, show_legen
|
|
|
4071
4176
|
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
4072
4177
|
- fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
4073
4178
|
- size : lines width.
|
|
4074
|
-
- linetype : type of the line of border.
|
|
4179
|
+
- linetype : type of the line of border. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
4075
4180
|
|
|
4076
4181
|
Examples
|
|
4077
4182
|
--------
|
|
@@ -4119,6 +4224,7 @@ def geom_ribbon(mapping=None, *, data=None, stat=None, position=None, show_legen
|
|
|
4119
4224
|
stat=stat,
|
|
4120
4225
|
position=position,
|
|
4121
4226
|
show_legend=show_legend,
|
|
4227
|
+
inherit_aes=inherit_aes,
|
|
4122
4228
|
manual_key=manual_key,
|
|
4123
4229
|
sampling=sampling,
|
|
4124
4230
|
tooltips=tooltips,
|
|
@@ -4126,8 +4232,8 @@ def geom_ribbon(mapping=None, *, data=None, stat=None, position=None, show_legen
|
|
|
4126
4232
|
**other_args)
|
|
4127
4233
|
|
|
4128
4234
|
|
|
4129
|
-
def geom_area(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
4130
|
-
tooltips=None,
|
|
4235
|
+
def geom_area(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
4236
|
+
manual_key=None, sampling=None, tooltips=None,
|
|
4131
4237
|
flat=None, color_by=None, fill_by=None,
|
|
4132
4238
|
**other_args):
|
|
4133
4239
|
"""
|
|
@@ -4156,6 +4262,8 @@ def geom_area(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
4156
4262
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
4157
4263
|
show_legend : bool, default=True
|
|
4158
4264
|
False - do not show legend for this layer.
|
|
4265
|
+
inherit_aes : bool, default=True
|
|
4266
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
4159
4267
|
manual_key : str or `layer_key`
|
|
4160
4268
|
The key to show in the manual legend.
|
|
4161
4269
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -4195,7 +4303,7 @@ def geom_area(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
4195
4303
|
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
4196
4304
|
- fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
4197
4305
|
- size : lines width.
|
|
4198
|
-
- linetype : type of the line of border.
|
|
4306
|
+
- linetype : type of the line of border. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
4199
4307
|
|
|
4200
4308
|
Examples
|
|
4201
4309
|
--------
|
|
@@ -4245,6 +4353,7 @@ def geom_area(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
4245
4353
|
stat=stat,
|
|
4246
4354
|
position=position,
|
|
4247
4355
|
show_legend=show_legend,
|
|
4356
|
+
inherit_aes=inherit_aes,
|
|
4248
4357
|
manual_key=manual_key,
|
|
4249
4358
|
sampling=sampling,
|
|
4250
4359
|
tooltips=tooltips,
|
|
@@ -4253,7 +4362,8 @@ def geom_area(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
4253
4362
|
**other_args)
|
|
4254
4363
|
|
|
4255
4364
|
|
|
4256
|
-
def geom_density(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
4365
|
+
def geom_density(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
4366
|
+
manual_key=None, sampling=None,
|
|
4257
4367
|
tooltips=None,
|
|
4258
4368
|
orientation=None,
|
|
4259
4369
|
trim=None,
|
|
@@ -4291,6 +4401,8 @@ def geom_density(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
4291
4401
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
4292
4402
|
show_legend : bool, default=True
|
|
4293
4403
|
False - do not show legend for this layer.
|
|
4404
|
+
inherit_aes : bool, default=True
|
|
4405
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
4294
4406
|
manual_key : str or `layer_key`
|
|
4295
4407
|
The key to show in the manual legend.
|
|
4296
4408
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -4355,7 +4467,7 @@ def geom_density(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
4355
4467
|
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
4356
4468
|
- fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
4357
4469
|
- size : lines width.
|
|
4358
|
-
- linetype : type of the line.
|
|
4470
|
+
- linetype : type of the line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
4359
4471
|
- weight : used by 'density' stat to compute weighted density.
|
|
4360
4472
|
- quantile : quantile values to draw quantile lines and fill quantiles of the geometry by color.
|
|
4361
4473
|
|
|
@@ -4457,6 +4569,7 @@ def geom_density(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
4457
4569
|
stat=stat,
|
|
4458
4570
|
position=position,
|
|
4459
4571
|
show_legend=show_legend,
|
|
4572
|
+
inherit_aes=inherit_aes,
|
|
4460
4573
|
manual_key=manual_key,
|
|
4461
4574
|
sampling=sampling,
|
|
4462
4575
|
tooltips=tooltips,
|
|
@@ -4467,8 +4580,8 @@ def geom_density(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
4467
4580
|
**other_args)
|
|
4468
4581
|
|
|
4469
4582
|
|
|
4470
|
-
def geom_density2d(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
4471
|
-
sampling=None, tooltips=None,
|
|
4583
|
+
def geom_density2d(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
4584
|
+
manual_key=None, sampling=None, tooltips=None,
|
|
4472
4585
|
kernel=None,
|
|
4473
4586
|
adjust=None,
|
|
4474
4587
|
bw=None,
|
|
@@ -4501,6 +4614,8 @@ def geom_density2d(mapping=None, *, data=None, stat=None, position=None, show_le
|
|
|
4501
4614
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
4502
4615
|
show_legend : bool, default=True
|
|
4503
4616
|
False - do not show legend for this layer.
|
|
4617
|
+
inherit_aes : bool, default=True
|
|
4618
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
4504
4619
|
manual_key : str or `layer_key`
|
|
4505
4620
|
The key to show in the manual legend.
|
|
4506
4621
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -4554,7 +4669,7 @@ def geom_density2d(mapping=None, *, data=None, stat=None, position=None, show_le
|
|
|
4554
4669
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
4555
4670
|
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
4556
4671
|
- size : lines width.
|
|
4557
|
-
- linetype : type of the line of border.
|
|
4672
|
+
- linetype : type of the line of border. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
4558
4673
|
- weight : used by 'density2d' stat to compute weighted density.
|
|
4559
4674
|
|
|
4560
4675
|
----
|
|
@@ -4681,6 +4796,7 @@ def geom_density2d(mapping=None, *, data=None, stat=None, position=None, show_le
|
|
|
4681
4796
|
stat=stat,
|
|
4682
4797
|
position=position,
|
|
4683
4798
|
show_legend=show_legend,
|
|
4799
|
+
inherit_aes=inherit_aes,
|
|
4684
4800
|
manual_key=manual_key,
|
|
4685
4801
|
sampling=sampling,
|
|
4686
4802
|
tooltips=tooltips,
|
|
@@ -4689,8 +4805,8 @@ def geom_density2d(mapping=None, *, data=None, stat=None, position=None, show_le
|
|
|
4689
4805
|
**other_args)
|
|
4690
4806
|
|
|
4691
4807
|
|
|
4692
|
-
def geom_density2df(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
4693
|
-
sampling=None,
|
|
4808
|
+
def geom_density2df(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
4809
|
+
manual_key=None, sampling=None,
|
|
4694
4810
|
tooltips=None,
|
|
4695
4811
|
kernel=None,
|
|
4696
4812
|
adjust=None,
|
|
@@ -4724,6 +4840,8 @@ def geom_density2df(mapping=None, *, data=None, stat=None, position=None, show_l
|
|
|
4724
4840
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
4725
4841
|
show_legend : bool, default=True
|
|
4726
4842
|
False - do not show legend for this layer.
|
|
4843
|
+
inherit_aes : bool, default=True
|
|
4844
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
4727
4845
|
manual_key : str or `layer_key`
|
|
4728
4846
|
The key to show in the manual legend.
|
|
4729
4847
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -4906,6 +5024,7 @@ def geom_density2df(mapping=None, *, data=None, stat=None, position=None, show_l
|
|
|
4906
5024
|
stat=stat,
|
|
4907
5025
|
position=position,
|
|
4908
5026
|
show_legend=show_legend,
|
|
5027
|
+
inherit_aes=inherit_aes,
|
|
4909
5028
|
manual_key=manual_key,
|
|
4910
5029
|
sampling=sampling,
|
|
4911
5030
|
tooltips=tooltips,
|
|
@@ -4918,7 +5037,8 @@ def geom_density2df(mapping=None, *, data=None, stat=None, position=None, show_l
|
|
|
4918
5037
|
**other_args)
|
|
4919
5038
|
|
|
4920
5039
|
|
|
4921
|
-
def geom_jitter(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
5040
|
+
def geom_jitter(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
5041
|
+
manual_key=None, sampling=None,
|
|
4922
5042
|
tooltips=None,
|
|
4923
5043
|
width=None, height=None,
|
|
4924
5044
|
color_by=None, fill_by=None,
|
|
@@ -4949,6 +5069,8 @@ def geom_jitter(mapping=None, *, data=None, stat=None, position=None, show_legen
|
|
|
4949
5069
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
4950
5070
|
show_legend : bool, default=True
|
|
4951
5071
|
False - do not show legend for this layer.
|
|
5072
|
+
inherit_aes : bool, default=True
|
|
5073
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
4952
5074
|
manual_key : str or `layer_key`
|
|
4953
5075
|
The key to show in the manual legend.
|
|
4954
5076
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -5042,6 +5164,7 @@ def geom_jitter(mapping=None, *, data=None, stat=None, position=None, show_legen
|
|
|
5042
5164
|
stat=stat,
|
|
5043
5165
|
position=position,
|
|
5044
5166
|
show_legend=show_legend,
|
|
5167
|
+
inherit_aes=inherit_aes,
|
|
5045
5168
|
manual_key=manual_key,
|
|
5046
5169
|
sampling=sampling,
|
|
5047
5170
|
tooltips=tooltips,
|
|
@@ -5051,7 +5174,8 @@ def geom_jitter(mapping=None, *, data=None, stat=None, position=None, show_legen
|
|
|
5051
5174
|
**other_args)
|
|
5052
5175
|
|
|
5053
5176
|
|
|
5054
|
-
def geom_qq(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
5177
|
+
def geom_qq(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
5178
|
+
manual_key=None, sampling=None,
|
|
5055
5179
|
tooltips=None,
|
|
5056
5180
|
distribution=None,
|
|
5057
5181
|
dparams=None,
|
|
@@ -5083,6 +5207,8 @@ def geom_qq(mapping=None, *, data=None, stat=None, position=None, show_legend=No
|
|
|
5083
5207
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
5084
5208
|
show_legend : bool, default=True
|
|
5085
5209
|
False - do not show legend for this layer.
|
|
5210
|
+
inherit_aes : bool, default=True
|
|
5211
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
5086
5212
|
manual_key : str or `layer_key`
|
|
5087
5213
|
The key to show in the manual legend.
|
|
5088
5214
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -5176,6 +5302,7 @@ def geom_qq(mapping=None, *, data=None, stat=None, position=None, show_legend=No
|
|
|
5176
5302
|
stat=stat,
|
|
5177
5303
|
position=position,
|
|
5178
5304
|
show_legend=show_legend,
|
|
5305
|
+
inherit_aes=inherit_aes,
|
|
5179
5306
|
manual_key=manual_key,
|
|
5180
5307
|
sampling=sampling,
|
|
5181
5308
|
tooltips=tooltips,
|
|
@@ -5185,7 +5312,8 @@ def geom_qq(mapping=None, *, data=None, stat=None, position=None, show_legend=No
|
|
|
5185
5312
|
**other_args)
|
|
5186
5313
|
|
|
5187
5314
|
|
|
5188
|
-
def geom_qq2(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
5315
|
+
def geom_qq2(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
5316
|
+
manual_key=None, sampling=None,
|
|
5189
5317
|
tooltips=None,
|
|
5190
5318
|
color_by=None, fill_by=None,
|
|
5191
5319
|
**other_args):
|
|
@@ -5215,6 +5343,8 @@ def geom_qq2(mapping=None, *, data=None, stat=None, position=None, show_legend=N
|
|
|
5215
5343
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
5216
5344
|
show_legend : bool, default=True
|
|
5217
5345
|
False - do not show legend for this layer.
|
|
5346
|
+
inherit_aes : bool, default=True
|
|
5347
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
5218
5348
|
manual_key : str or `layer_key`
|
|
5219
5349
|
The key to show in the manual legend.
|
|
5220
5350
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -5283,6 +5413,7 @@ def geom_qq2(mapping=None, *, data=None, stat=None, position=None, show_legend=N
|
|
|
5283
5413
|
stat=stat,
|
|
5284
5414
|
position=position,
|
|
5285
5415
|
show_legend=show_legend,
|
|
5416
|
+
inherit_aes=inherit_aes,
|
|
5286
5417
|
manual_key=manual_key,
|
|
5287
5418
|
sampling=sampling,
|
|
5288
5419
|
tooltips=tooltips,
|
|
@@ -5290,7 +5421,8 @@ def geom_qq2(mapping=None, *, data=None, stat=None, position=None, show_legend=N
|
|
|
5290
5421
|
**other_args)
|
|
5291
5422
|
|
|
5292
5423
|
|
|
5293
|
-
def geom_qq_line(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
5424
|
+
def geom_qq_line(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
5425
|
+
manual_key=None, sampling=None,
|
|
5294
5426
|
tooltips=None,
|
|
5295
5427
|
distribution=None,
|
|
5296
5428
|
dparams=None,
|
|
@@ -5323,6 +5455,8 @@ def geom_qq_line(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
5323
5455
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
5324
5456
|
show_legend : bool, default=True
|
|
5325
5457
|
False - do not show legend for this layer.
|
|
5458
|
+
inherit_aes : bool, default=True
|
|
5459
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
5326
5460
|
manual_key : str or `layer_key`
|
|
5327
5461
|
The key to show in the manual legend.
|
|
5328
5462
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -5372,7 +5506,7 @@ def geom_qq_line(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
5372
5506
|
- sample : y-axis value.
|
|
5373
5507
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
5374
5508
|
- 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.
|
|
5509
|
+
- linetype : type of the line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
5376
5510
|
- size : line width.
|
|
5377
5511
|
|
|
5378
5512
|
Examples
|
|
@@ -5412,6 +5546,7 @@ def geom_qq_line(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
5412
5546
|
stat=stat,
|
|
5413
5547
|
position=position,
|
|
5414
5548
|
show_legend=show_legend,
|
|
5549
|
+
inherit_aes=inherit_aes,
|
|
5415
5550
|
manual_key=manual_key,
|
|
5416
5551
|
sampling=sampling,
|
|
5417
5552
|
tooltips=tooltips,
|
|
@@ -5422,7 +5557,8 @@ def geom_qq_line(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
5422
5557
|
**other_args)
|
|
5423
5558
|
|
|
5424
5559
|
|
|
5425
|
-
def geom_qq2_line(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
5560
|
+
def geom_qq2_line(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
5561
|
+
manual_key=None,
|
|
5426
5562
|
sampling=None, tooltips=None,
|
|
5427
5563
|
quantiles=None,
|
|
5428
5564
|
color_by=None,
|
|
@@ -5453,6 +5589,8 @@ def geom_qq2_line(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
5453
5589
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
5454
5590
|
show_legend : bool, default=True
|
|
5455
5591
|
False - do not show legend for this layer.
|
|
5592
|
+
inherit_aes : bool, default=True
|
|
5593
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
5456
5594
|
manual_key : str or `layer_key`
|
|
5457
5595
|
The key to show in the manual legend.
|
|
5458
5596
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -5488,7 +5626,7 @@ def geom_qq2_line(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
5488
5626
|
- y : y-axis value.
|
|
5489
5627
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
5490
5628
|
- 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.
|
|
5629
|
+
- linetype : type of the line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
5492
5630
|
- size : line width.
|
|
5493
5631
|
|
|
5494
5632
|
Examples
|
|
@@ -5513,6 +5651,7 @@ def geom_qq2_line(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
5513
5651
|
stat=stat,
|
|
5514
5652
|
position=position,
|
|
5515
5653
|
show_legend=show_legend,
|
|
5654
|
+
inherit_aes=inherit_aes,
|
|
5516
5655
|
manual_key=manual_key,
|
|
5517
5656
|
sampling=sampling,
|
|
5518
5657
|
tooltips=tooltips,
|
|
@@ -5521,8 +5660,8 @@ def geom_qq2_line(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
5521
5660
|
**other_args)
|
|
5522
5661
|
|
|
5523
5662
|
|
|
5524
|
-
def geom_freqpoly(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
5525
|
-
sampling=None, tooltips=None,
|
|
5663
|
+
def geom_freqpoly(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
5664
|
+
manual_key=None, sampling=None, tooltips=None,
|
|
5526
5665
|
orientation=None,
|
|
5527
5666
|
color_by=None,
|
|
5528
5667
|
**other_args):
|
|
@@ -5552,6 +5691,8 @@ def geom_freqpoly(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
5552
5691
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
5553
5692
|
show_legend : bool, default=True
|
|
5554
5693
|
False - do not show legend for this layer.
|
|
5694
|
+
inherit_aes : bool, default=True
|
|
5695
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
5555
5696
|
manual_key : str or `layer_key`
|
|
5556
5697
|
The key to show in the manual legend.
|
|
5557
5698
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -5592,7 +5733,7 @@ def geom_freqpoly(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
5592
5733
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
5593
5734
|
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
5594
5735
|
- size : lines width.
|
|
5595
|
-
- linetype : type of the line of border.
|
|
5736
|
+
- linetype : type of the line of border. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
5596
5737
|
|
|
5597
5738
|
Examples
|
|
5598
5739
|
--------
|
|
@@ -5633,6 +5774,7 @@ def geom_freqpoly(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
5633
5774
|
stat=stat,
|
|
5634
5775
|
position=position,
|
|
5635
5776
|
show_legend=show_legend,
|
|
5777
|
+
inherit_aes=inherit_aes,
|
|
5636
5778
|
manual_key=manual_key,
|
|
5637
5779
|
sampling=sampling,
|
|
5638
5780
|
tooltips=tooltips,
|
|
@@ -5641,7 +5783,8 @@ def geom_freqpoly(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
5641
5783
|
**other_args)
|
|
5642
5784
|
|
|
5643
5785
|
|
|
5644
|
-
def geom_step(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
5786
|
+
def geom_step(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
5787
|
+
manual_key=None, sampling=None,
|
|
5645
5788
|
tooltips=None,
|
|
5646
5789
|
direction=None,
|
|
5647
5790
|
color_by=None,
|
|
@@ -5671,6 +5814,8 @@ def geom_step(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
5671
5814
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
5672
5815
|
show_legend : bool, default=True
|
|
5673
5816
|
False - do not show legend for this layer.
|
|
5817
|
+
inherit_aes : bool, default=True
|
|
5818
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
5674
5819
|
manual_key : str or `layer_key`
|
|
5675
5820
|
The key to show in the manual legend.
|
|
5676
5821
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -5707,7 +5852,7 @@ def geom_step(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
5707
5852
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
5708
5853
|
- color (colour) : color of the geometry. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
5709
5854
|
- size : line width.
|
|
5710
|
-
- linetype : type of the line.
|
|
5855
|
+
- linetype : type of the line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
5711
5856
|
|
|
5712
5857
|
Examples
|
|
5713
5858
|
--------
|
|
@@ -5750,6 +5895,7 @@ def geom_step(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
5750
5895
|
stat=stat,
|
|
5751
5896
|
position=position,
|
|
5752
5897
|
show_legend=show_legend,
|
|
5898
|
+
inherit_aes=inherit_aes,
|
|
5753
5899
|
manual_key=manual_key,
|
|
5754
5900
|
sampling=sampling,
|
|
5755
5901
|
tooltips=tooltips,
|
|
@@ -5758,7 +5904,8 @@ def geom_step(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
5758
5904
|
**other_args)
|
|
5759
5905
|
|
|
5760
5906
|
|
|
5761
|
-
def geom_rect(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
5907
|
+
def geom_rect(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
5908
|
+
manual_key=None, sampling=None,
|
|
5762
5909
|
tooltips=None,
|
|
5763
5910
|
map=None, map_join=None, use_crs=None,
|
|
5764
5911
|
color_by=None, fill_by=None,
|
|
@@ -5783,6 +5930,8 @@ def geom_rect(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
5783
5930
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
5784
5931
|
show_legend : bool, default=True
|
|
5785
5932
|
False - do not show legend for this layer.
|
|
5933
|
+
inherit_aes : bool, default=True
|
|
5934
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
5786
5935
|
manual_key : str or `layer_key`
|
|
5787
5936
|
The key to show in the manual legend.
|
|
5788
5937
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -5832,7 +5981,7 @@ def geom_rect(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
5832
5981
|
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
5833
5982
|
- fill : fill color. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
5834
5983
|
- size : lines width.
|
|
5835
|
-
- linetype : type of the line.
|
|
5984
|
+
- linetype : type of the line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
5836
5985
|
|
|
5837
5986
|
----
|
|
5838
5987
|
|
|
@@ -5921,6 +6070,7 @@ def geom_rect(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
5921
6070
|
stat=stat,
|
|
5922
6071
|
position=position,
|
|
5923
6072
|
show_legend=show_legend,
|
|
6073
|
+
inherit_aes=inherit_aes,
|
|
5924
6074
|
manual_key=manual_key,
|
|
5925
6075
|
sampling=sampling,
|
|
5926
6076
|
tooltips=tooltips,
|
|
@@ -5929,7 +6079,8 @@ def geom_rect(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
5929
6079
|
**other_args)
|
|
5930
6080
|
|
|
5931
6081
|
|
|
5932
|
-
def geom_segment(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
6082
|
+
def geom_segment(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
6083
|
+
manual_key=None, sampling=None,
|
|
5933
6084
|
tooltips=None,
|
|
5934
6085
|
arrow=None, flat=None, geodesic=None, spacer=None, color_by=None, **other_args):
|
|
5935
6086
|
"""
|
|
@@ -5957,6 +6108,8 @@ def geom_segment(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
5957
6108
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
5958
6109
|
show_legend : bool, default=True
|
|
5959
6110
|
False - do not show legend for this layer.
|
|
6111
|
+
inherit_aes : bool, default=True
|
|
6112
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
5960
6113
|
manual_key : str or `layer_key`
|
|
5961
6114
|
The key to show in the manual legend.
|
|
5962
6115
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -6001,7 +6154,7 @@ def geom_segment(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
6001
6154
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
6002
6155
|
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
6003
6156
|
- size : line width.
|
|
6004
|
-
- linetype : type of the line.
|
|
6157
|
+
- linetype : type of the line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
6005
6158
|
- size_start : offset from the segment start coordinate (usually equal to the size of the point object from which the segment starts to avoid overlapping with it).
|
|
6006
6159
|
- size_end : offset from the segment end coordinate (usually equal to the size of the point object from which the segment ends to avoid overlapping with it).
|
|
6007
6160
|
- stroke_start : offset from the segment start coordinate (usually equal to the stroke of the point object from which the segment starts to avoid overlapping with it).
|
|
@@ -6072,6 +6225,7 @@ def geom_segment(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
6072
6225
|
stat=stat,
|
|
6073
6226
|
position=position,
|
|
6074
6227
|
show_legend=show_legend,
|
|
6228
|
+
inherit_aes=inherit_aes,
|
|
6075
6229
|
manual_key=manual_key,
|
|
6076
6230
|
sampling=sampling,
|
|
6077
6231
|
tooltips=tooltips,
|
|
@@ -6083,7 +6237,8 @@ def geom_segment(mapping=None, *, data=None, stat=None, position=None, show_lege
|
|
|
6083
6237
|
**other_args)
|
|
6084
6238
|
|
|
6085
6239
|
|
|
6086
|
-
def geom_curve(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
6240
|
+
def geom_curve(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
6241
|
+
manual_key=None, sampling=None,
|
|
6087
6242
|
tooltips=None,
|
|
6088
6243
|
arrow=None,
|
|
6089
6244
|
curvature=None, angle=None, ncp=None,
|
|
@@ -6114,6 +6269,8 @@ def geom_curve(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
6114
6269
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
6115
6270
|
show_legend : bool, default=True
|
|
6116
6271
|
False - do not show legend for this layer.
|
|
6272
|
+
inherit_aes : bool, default=True
|
|
6273
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
6117
6274
|
manual_key : str or `layer_key`
|
|
6118
6275
|
The key to show in the manual legend.
|
|
6119
6276
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -6163,7 +6320,7 @@ def geom_curve(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
6163
6320
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
6164
6321
|
- color (colour) : color of the geometry lines. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
6165
6322
|
- size : line width.
|
|
6166
|
-
- linetype : type of the line.
|
|
6323
|
+
- linetype : type of the line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
6167
6324
|
- size_start : offset from the start coordinate (usually equal to the size of the point object from which the curve starts to avoid overlapping with it).
|
|
6168
6325
|
- size_end : offset from the end coordinate (usually equal to the size of the point object from which the curve ends to avoid overlapping with it).
|
|
6169
6326
|
- stroke_start : offset from the start coordinate (usually equal to the stroke of the point object from which the curve starts to avoid overlapping with it).
|
|
@@ -6230,6 +6387,7 @@ def geom_curve(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
6230
6387
|
stat=stat,
|
|
6231
6388
|
position=position,
|
|
6232
6389
|
show_legend=show_legend,
|
|
6390
|
+
inherit_aes=inherit_aes,
|
|
6233
6391
|
manual_key=manual_key,
|
|
6234
6392
|
sampling=sampling,
|
|
6235
6393
|
tooltips=tooltips,
|
|
@@ -6240,7 +6398,8 @@ def geom_curve(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
6240
6398
|
**other_args)
|
|
6241
6399
|
|
|
6242
6400
|
|
|
6243
|
-
def geom_spoke(mapping=None, *, data=None, position=None, show_legend=None,
|
|
6401
|
+
def geom_spoke(mapping=None, *, data=None, position=None, show_legend=None, inherit_aes=None,
|
|
6402
|
+
manual_key=None, sampling=None,
|
|
6244
6403
|
tooltips=None,
|
|
6245
6404
|
arrow=None, pivot=None,
|
|
6246
6405
|
color_by=None, **other_args):
|
|
@@ -6262,6 +6421,8 @@ def geom_spoke(mapping=None, *, data=None, position=None, show_legend=None, manu
|
|
|
6262
6421
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
6263
6422
|
show_legend : bool, default=True
|
|
6264
6423
|
False - do not show legend for this layer.
|
|
6424
|
+
inherit_aes : bool, default=True
|
|
6425
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
6265
6426
|
manual_key : str or `layer_key`
|
|
6266
6427
|
The key to show in the manual legend.
|
|
6267
6428
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -6299,7 +6460,7 @@ def geom_spoke(mapping=None, *, data=None, position=None, show_legend=None, manu
|
|
|
6299
6460
|
- alpha : transparency level of a layer. Accept values between 0 and 1.
|
|
6300
6461
|
- color (colour) : color of the line. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
6301
6462
|
- size : line width.
|
|
6302
|
-
- linetype : type of the line.
|
|
6463
|
+
- linetype : type of the line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
6303
6464
|
|
|
6304
6465
|
Examples
|
|
6305
6466
|
--------
|
|
@@ -6364,6 +6525,7 @@ def geom_spoke(mapping=None, *, data=None, position=None, show_legend=None, manu
|
|
|
6364
6525
|
stat=None,
|
|
6365
6526
|
position=position,
|
|
6366
6527
|
show_legend=show_legend,
|
|
6528
|
+
inherit_aes=inherit_aes,
|
|
6367
6529
|
manual_key=manual_key,
|
|
6368
6530
|
sampling=sampling,
|
|
6369
6531
|
tooltips=tooltips,
|
|
@@ -6373,13 +6535,15 @@ def geom_spoke(mapping=None, *, data=None, position=None, show_legend=None, manu
|
|
|
6373
6535
|
**other_args)
|
|
6374
6536
|
|
|
6375
6537
|
|
|
6376
|
-
def geom_text(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
6538
|
+
def geom_text(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
6539
|
+
manual_key=None, sampling=None,
|
|
6377
6540
|
tooltips=None,
|
|
6378
6541
|
map=None, map_join=None, use_crs=None,
|
|
6379
6542
|
label_format=None,
|
|
6380
6543
|
na_text=None,
|
|
6381
6544
|
nudge_x=None, nudge_y=None,
|
|
6382
6545
|
size_unit=None,
|
|
6546
|
+
check_overlap=None,
|
|
6383
6547
|
color_by=None,
|
|
6384
6548
|
**other_args):
|
|
6385
6549
|
"""
|
|
@@ -6407,6 +6571,8 @@ def geom_text(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
6407
6571
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
6408
6572
|
show_legend : bool, default=True
|
|
6409
6573
|
False - do not show legend for this layer.
|
|
6574
|
+
inherit_aes : bool, default=True
|
|
6575
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
6410
6576
|
manual_key : str or `layer_key`
|
|
6411
6577
|
The key to show in the manual legend.
|
|
6412
6578
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -6445,6 +6611,8 @@ def geom_text(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
6445
6611
|
size_unit : {'x', 'y'}
|
|
6446
6612
|
Relate the size of the text to the length of the unit step along one of the axes.
|
|
6447
6613
|
If None, no fitting is performed.
|
|
6614
|
+
check_overlap : bool, default=False
|
|
6615
|
+
If True, skip plotting text that overlaps previous text in the same layer.
|
|
6448
6616
|
color_by : {'fill', 'color', 'paint_a', 'paint_b', 'paint_c'}, default='color'
|
|
6449
6617
|
Define the color aesthetic for the geometry.
|
|
6450
6618
|
other_args
|
|
@@ -6586,6 +6754,7 @@ def geom_text(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
6586
6754
|
stat=stat,
|
|
6587
6755
|
position=position,
|
|
6588
6756
|
show_legend=show_legend,
|
|
6757
|
+
inherit_aes=inherit_aes,
|
|
6589
6758
|
manual_key=manual_key,
|
|
6590
6759
|
sampling=sampling,
|
|
6591
6760
|
tooltips=tooltips,
|
|
@@ -6594,11 +6763,13 @@ def geom_text(mapping=None, *, data=None, stat=None, position=None, show_legend=
|
|
|
6594
6763
|
na_text=na_text,
|
|
6595
6764
|
nudge_x=nudge_x, nudge_y=nudge_y,
|
|
6596
6765
|
size_unit=size_unit,
|
|
6766
|
+
check_overlap=check_overlap,
|
|
6597
6767
|
color_by=color_by,
|
|
6598
6768
|
**other_args)
|
|
6599
6769
|
|
|
6600
6770
|
|
|
6601
|
-
def geom_label(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
6771
|
+
def geom_label(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
6772
|
+
manual_key=None, sampling=None,
|
|
6602
6773
|
tooltips=None,
|
|
6603
6774
|
map=None, map_join=None, use_crs=None,
|
|
6604
6775
|
label_format=None,
|
|
@@ -6607,6 +6778,7 @@ def geom_label(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
6607
6778
|
label_padding=None, label_r=None, label_size=None,
|
|
6608
6779
|
alpha_stroke=None,
|
|
6609
6780
|
size_unit=None,
|
|
6781
|
+
check_overlap=None,
|
|
6610
6782
|
color_by=None, fill_by=None,
|
|
6611
6783
|
**other_args):
|
|
6612
6784
|
"""
|
|
@@ -6634,6 +6806,8 @@ def geom_label(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
6634
6806
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
6635
6807
|
show_legend : bool, default=True
|
|
6636
6808
|
False - do not show legend for this layer.
|
|
6809
|
+
inherit_aes : bool, default=True
|
|
6810
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
6637
6811
|
manual_key : str or `layer_key`
|
|
6638
6812
|
The key to show in the manual legend.
|
|
6639
6813
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -6680,6 +6854,8 @@ def geom_label(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
6680
6854
|
size_unit : {'x', 'y'}
|
|
6681
6855
|
Relate the size of the text label to the length of the unit step along one of the axes.
|
|
6682
6856
|
If None, no fitting is performed.
|
|
6857
|
+
check_overlap : bool, default=False
|
|
6858
|
+
If True, skip plotting text that overlaps previous text in the same layer.
|
|
6683
6859
|
color_by : {'fill', 'color', 'paint_a', 'paint_b', 'paint_c'}, default='color'
|
|
6684
6860
|
Define the color aesthetic for the geometry.
|
|
6685
6861
|
fill_by : {'fill', 'color', 'paint_a', 'paint_b', 'paint_c'}, default='fill'
|
|
@@ -6825,6 +7001,7 @@ def geom_label(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
6825
7001
|
stat=stat,
|
|
6826
7002
|
position=position,
|
|
6827
7003
|
show_legend=show_legend,
|
|
7004
|
+
inherit_aes=inherit_aes,
|
|
6828
7005
|
manual_key=manual_key,
|
|
6829
7006
|
sampling=sampling,
|
|
6830
7007
|
tooltips=tooltips,
|
|
@@ -6837,11 +7014,13 @@ def geom_label(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
6837
7014
|
label_size=label_size,
|
|
6838
7015
|
alpha_stroke=alpha_stroke,
|
|
6839
7016
|
size_unit=size_unit,
|
|
7017
|
+
check_overlap=check_overlap,
|
|
6840
7018
|
color_by=color_by, fill_by=fill_by,
|
|
6841
7019
|
**other_args)
|
|
6842
7020
|
|
|
6843
7021
|
|
|
6844
|
-
def geom_pie(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
7022
|
+
def geom_pie(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
7023
|
+
manual_key=None, sampling=None,
|
|
6845
7024
|
tooltips=None, labels=None,
|
|
6846
7025
|
map=None, map_join=None, use_crs=None,
|
|
6847
7026
|
hole=None,
|
|
@@ -6872,6 +7051,8 @@ def geom_pie(mapping=None, *, data=None, stat=None, position=None, show_legend=N
|
|
|
6872
7051
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
6873
7052
|
show_legend : bool, default=True
|
|
6874
7053
|
False - do not show legend for this layer.
|
|
7054
|
+
inherit_aes : bool, default=True
|
|
7055
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
6875
7056
|
manual_key : str or `layer_key`
|
|
6876
7057
|
The key to show in the manual legend.
|
|
6877
7058
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -7069,6 +7250,7 @@ def geom_pie(mapping=None, *, data=None, stat=None, position=None, show_legend=N
|
|
|
7069
7250
|
stat=stat,
|
|
7070
7251
|
position=position,
|
|
7071
7252
|
show_legend=show_legend,
|
|
7253
|
+
inherit_aes=inherit_aes,
|
|
7072
7254
|
manual_key=manual_key,
|
|
7073
7255
|
sampling=sampling,
|
|
7074
7256
|
tooltips=tooltips,
|
|
@@ -7083,8 +7265,8 @@ def geom_pie(mapping=None, *, data=None, stat=None, position=None, show_legend=N
|
|
|
7083
7265
|
**other_args)
|
|
7084
7266
|
|
|
7085
7267
|
|
|
7086
|
-
def geom_lollipop(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
7087
|
-
sampling=None, tooltips=None,
|
|
7268
|
+
def geom_lollipop(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
7269
|
+
manual_key=None, sampling=None, tooltips=None,
|
|
7088
7270
|
orientation=None,
|
|
7089
7271
|
dir=None, fatten=None, slope=None, intercept=None,
|
|
7090
7272
|
color_by=None, fill_by=None,
|
|
@@ -7114,6 +7296,8 @@ def geom_lollipop(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
7114
7296
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
7115
7297
|
show_legend : bool, default=True
|
|
7116
7298
|
False - do not show legend for this layer.
|
|
7299
|
+
inherit_aes : bool, default=True
|
|
7300
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
7117
7301
|
manual_key : str or `layer_key`
|
|
7118
7302
|
The key to show in the manual legend.
|
|
7119
7303
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -7164,7 +7348,7 @@ def geom_lollipop(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
7164
7348
|
- size : size of the point.
|
|
7165
7349
|
- stroke : width of the shape border. Applied only to the shapes having border.
|
|
7166
7350
|
- linewidth : stick width.
|
|
7167
|
-
- linetype : type of the stick line.
|
|
7351
|
+
- linetype : type of the stick line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
|
|
7168
7352
|
|
|
7169
7353
|
----
|
|
7170
7354
|
|
|
@@ -7227,6 +7411,7 @@ def geom_lollipop(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
7227
7411
|
stat=stat,
|
|
7228
7412
|
position=position,
|
|
7229
7413
|
show_legend=show_legend,
|
|
7414
|
+
inherit_aes=inherit_aes,
|
|
7230
7415
|
manual_key=manual_key,
|
|
7231
7416
|
sampling=sampling,
|
|
7232
7417
|
tooltips=tooltips,
|
|
@@ -7236,7 +7421,8 @@ def geom_lollipop(mapping=None, *, data=None, stat=None, position=None, show_leg
|
|
|
7236
7421
|
**other_args)
|
|
7237
7422
|
|
|
7238
7423
|
|
|
7239
|
-
def geom_count(mapping=None, *, data=None, stat=None, position=None, show_legend=None,
|
|
7424
|
+
def geom_count(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=None,
|
|
7425
|
+
manual_key=None, sampling=None,
|
|
7240
7426
|
tooltips=None,
|
|
7241
7427
|
color_by=None, fill_by=None,
|
|
7242
7428
|
**other_args):
|
|
@@ -7260,6 +7446,8 @@ def geom_count(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
7260
7446
|
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
7261
7447
|
show_legend : bool, default=True
|
|
7262
7448
|
False - do not show legend for this layer.
|
|
7449
|
+
inherit_aes : bool, default=True
|
|
7450
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
7263
7451
|
manual_key : str or `layer_key`
|
|
7264
7452
|
The key to show in the manual legend.
|
|
7265
7453
|
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
@@ -7343,6 +7531,7 @@ def geom_count(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
7343
7531
|
stat=stat,
|
|
7344
7532
|
position=position,
|
|
7345
7533
|
show_legend=show_legend,
|
|
7534
|
+
inherit_aes=inherit_aes,
|
|
7346
7535
|
manual_key=manual_key,
|
|
7347
7536
|
sampling=sampling,
|
|
7348
7537
|
tooltips=tooltips,
|
|
@@ -7350,12 +7539,139 @@ def geom_count(mapping=None, *, data=None, stat=None, position=None, show_legend
|
|
|
7350
7539
|
**other_args)
|
|
7351
7540
|
|
|
7352
7541
|
|
|
7542
|
+
def geom_blank(mapping=None, *, data=None, stat=None, position=None, show_legend=None, inherit_aes=False,
|
|
7543
|
+
manual_key=None,
|
|
7544
|
+
sampling=None,
|
|
7545
|
+
map=None, map_join=None, use_crs=None,
|
|
7546
|
+
color_by=None, fill_by=None,
|
|
7547
|
+
**other_args):
|
|
7548
|
+
"""
|
|
7549
|
+
Draw nothing, but can be a useful way of ensuring common scales between different plots (see `expand_limits()`).
|
|
7550
|
+
Also, can help to avoid the "No layers in plot" error when building plots using automated tools.
|
|
7551
|
+
|
|
7552
|
+
Parameters
|
|
7553
|
+
----------
|
|
7554
|
+
mapping : `FeatureSpec`
|
|
7555
|
+
Set of aesthetic mappings created by `aes()` function.
|
|
7556
|
+
Aesthetic mappings describe the way that variables in the data are
|
|
7557
|
+
mapped to plot "aesthetics".
|
|
7558
|
+
data : dict or Pandas or Polars `DataFrame` or `GeoDataFrame`
|
|
7559
|
+
The data to be displayed in this layer. If None, the default, the data
|
|
7560
|
+
is inherited from the plot data as specified in the call to ggplot.
|
|
7561
|
+
stat : str, default='identity'
|
|
7562
|
+
The statistical transformation to use on the data for this layer, as a string.
|
|
7563
|
+
Supported transformations: 'identity' (leaves the data unchanged),
|
|
7564
|
+
'count' (counts number of points with same x-axis coordinate),
|
|
7565
|
+
'bin' (counts number of points with x-axis coordinate in the same bin),
|
|
7566
|
+
'smooth' (performs smoothing - linear default),
|
|
7567
|
+
'density' (computes and draws kernel density estimate),
|
|
7568
|
+
'sum' (counts the number of points at each location - might help to workaround overplotting).
|
|
7569
|
+
position : str or `FeatureSpec`, default='identity'
|
|
7570
|
+
Position adjustment.
|
|
7571
|
+
Either a position adjustment name: 'dodge', 'dodgev', 'jitter', 'nudge', 'jitterdodge', 'fill',
|
|
7572
|
+
'stack' or 'identity', or the result of calling a position adjustment function (e.g., `position_dodge()` etc.).
|
|
7573
|
+
show_legend : bool, default=True
|
|
7574
|
+
False - do not show legend for this layer.
|
|
7575
|
+
inherit_aes : bool, default=False
|
|
7576
|
+
False - do not combine the layer aesthetic mappings with the plot shared mappings.
|
|
7577
|
+
manual_key : str or `layer_key`
|
|
7578
|
+
The key to show in the manual legend.
|
|
7579
|
+
Specify text for the legend label or advanced settings using the `layer_key()` function.
|
|
7580
|
+
sampling : `FeatureSpec`
|
|
7581
|
+
Result of the call to the `sampling_xxx()` function.
|
|
7582
|
+
To prevent any sampling for this layer pass value "none" (string "none").
|
|
7583
|
+
map : `GeoDataFrame` or `Geocoder`
|
|
7584
|
+
Data containing coordinates of points.
|
|
7585
|
+
map_join : str or list
|
|
7586
|
+
Keys used to join map coordinates with data.
|
|
7587
|
+
First value in pair - column/columns in `data`.
|
|
7588
|
+
Second value in pair - column/columns in `map`.
|
|
7589
|
+
use_crs : str, optional, default="EPSG:4326" (aka WGS84)
|
|
7590
|
+
EPSG code of the coordinate reference system (CRS) or the keyword "provided".
|
|
7591
|
+
If an EPSG code is given, then all the coordinates in `GeoDataFrame` (see the `map` parameter)
|
|
7592
|
+
will be projected to this CRS.
|
|
7593
|
+
Specify "provided" to disable any further re-projection and to keep the `GeoDataFrame's` original CRS.
|
|
7594
|
+
color_by : {'fill', 'color', 'paint_a', 'paint_b', 'paint_c'}, default='color'
|
|
7595
|
+
Define the color aesthetic for the geometry.
|
|
7596
|
+
fill_by : {'fill', 'color', 'paint_a', 'paint_b', 'paint_c'}, default='fill'
|
|
7597
|
+
Define the fill aesthetic for the geometry.
|
|
7598
|
+
other_args
|
|
7599
|
+
Other arguments passed on to the layer.
|
|
7600
|
+
These are often aesthetics settings used to set an aesthetic to a fixed value,
|
|
7601
|
+
like color='red', fill='blue', size=3 or shape=21.
|
|
7602
|
+
They may also be parameters to the paired geom/stat.
|
|
7603
|
+
|
|
7604
|
+
Returns
|
|
7605
|
+
-------
|
|
7606
|
+
`LayerSpec`
|
|
7607
|
+
Geom object specification.
|
|
7608
|
+
|
|
7609
|
+
Notes
|
|
7610
|
+
-----
|
|
7611
|
+
The point geometry is used to create scatterplots.
|
|
7612
|
+
The scatterplot is useful for displaying the relationship between
|
|
7613
|
+
two continuous variables, although it can also be used with one continuous
|
|
7614
|
+
and one categorical variable, or two categorical variables.
|
|
7615
|
+
|
|
7616
|
+
`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):
|
|
7617
|
+
|
|
7618
|
+
- x : x-axis value.
|
|
7619
|
+
- y : y-axis value.
|
|
7620
|
+
- color (colour) : color of the geometry. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
|
|
7621
|
+
- fill : fill color.
|
|
7622
|
+
----
|
|
7623
|
+
|
|
7624
|
+
The `data` and `map` parameters of `GeoDataFrame` type support shapes `Point` and `MultiPoint`.
|
|
7625
|
+
|
|
7626
|
+
The `map` parameter of `Geocoder` type implicitly invokes `centroids()` function.
|
|
7627
|
+
|
|
7628
|
+
----
|
|
7629
|
+
|
|
7630
|
+
The conventions for the values of `map_join` parameter are as follows:
|
|
7631
|
+
|
|
7632
|
+
- Joining data and `GeoDataFrame` object
|
|
7633
|
+
|
|
7634
|
+
Data has a column named 'State_name' and `GeoDataFrame` has a matching column named 'state':
|
|
7635
|
+
|
|
7636
|
+
- map_join=['State_Name', 'state']
|
|
7637
|
+
- map_join=[['State_Name'], ['state']]
|
|
7638
|
+
|
|
7639
|
+
- Joining data and `Geocoder` object
|
|
7640
|
+
|
|
7641
|
+
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:
|
|
7642
|
+
|
|
7643
|
+
- map_join='State_Name'
|
|
7644
|
+
- map_join=['State_Name']
|
|
7645
|
+
|
|
7646
|
+
- Joining data by composite key
|
|
7647
|
+
|
|
7648
|
+
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):
|
|
7649
|
+
|
|
7650
|
+
- map_join=['County_name', 'State_Name']
|
|
7651
|
+
|
|
7652
|
+
"""
|
|
7653
|
+
return _geom('blank',
|
|
7654
|
+
mapping=mapping,
|
|
7655
|
+
data=data,
|
|
7656
|
+
stat=stat,
|
|
7657
|
+
position=position,
|
|
7658
|
+
show_legend=show_legend,
|
|
7659
|
+
inherit_aes=inherit_aes,
|
|
7660
|
+
manual_key=manual_key,
|
|
7661
|
+
sampling=sampling,
|
|
7662
|
+
tooltips='none',
|
|
7663
|
+
map=map, map_join=map_join, use_crs=use_crs,
|
|
7664
|
+
color_by=color_by, fill_by=fill_by,
|
|
7665
|
+
**other_args)
|
|
7666
|
+
|
|
7667
|
+
|
|
7353
7668
|
def _geom(name, *,
|
|
7354
7669
|
mapping=None,
|
|
7355
7670
|
data=None,
|
|
7356
7671
|
stat=None,
|
|
7357
7672
|
position=None,
|
|
7358
7673
|
show_legend=None,
|
|
7674
|
+
inherit_aes=None,
|
|
7359
7675
|
manual_key=None,
|
|
7360
7676
|
sampling=None,
|
|
7361
7677
|
tooltips=None,
|
|
@@ -7382,6 +7698,7 @@ def _geom(name, *,
|
|
|
7382
7698
|
mapping=mapping,
|
|
7383
7699
|
position=position,
|
|
7384
7700
|
show_legend=show_legend,
|
|
7701
|
+
inherit_aes=inherit_aes,
|
|
7385
7702
|
manual_key=manual_key,
|
|
7386
7703
|
sampling=sampling,
|
|
7387
7704
|
tooltips=tooltips,
|