@@ -49,8 +49,8 @@ def scatter(
49
49
height = None ,
50
50
):
51
51
"""
52
- In a scatter plot, each row of `data_frame` is represented by a symbol mark
53
- in 2D space.
52
+ In a scatter plot, each row of `data_frame` is represented by a symbol
53
+ mark in 2D space.
54
54
"""
55
55
return make_figure (args = locals (), constructor = go .Scatter )
56
56
@@ -93,9 +93,9 @@ def density_contour(
93
93
height = None ,
94
94
):
95
95
"""
96
- In a density contour plot, rows of `data_frame` are grouped together into
97
- contour marks to visualize the 2D distribution of an aggregate function
98
- `histfunc` (e.g. the count or sum) of the value `z`.
96
+ In a density contour plot, rows of `data_frame` are grouped together
97
+ into contour marks to visualize the 2D distribution of an aggregate
98
+ function `histfunc` (e.g. the count or sum) of the value `z`.
99
99
"""
100
100
return make_figure (
101
101
args = locals (),
@@ -150,8 +150,8 @@ def density_heatmap(
150
150
):
151
151
"""
152
152
In a density heatmap, rows of `data_frame` are grouped together into
153
- colored rectangular tiles to visualize the 2D distribution of an aggregate
154
- function `histfunc` (e.g. the count or sum) of the value `z`.
153
+ colored rectangular tiles to visualize the 2D distribution of an
154
+ aggregate function `histfunc` (e.g. the count or sum) of the value `z`.
155
155
"""
156
156
return make_figure (
157
157
args = locals (),
@@ -208,8 +208,8 @@ def line(
208
208
height = None ,
209
209
):
210
210
"""
211
- In a 2D line plot, each row of `data_frame` is represented as vertex of a
212
- polyline mark in 2D space.
211
+ In a 2D line plot, each row of `data_frame` is represented as vertex of
212
+ a polyline mark in 2D space.
213
213
"""
214
214
return make_figure (args = locals (), constructor = go .Scatter )
215
215
@@ -249,9 +249,9 @@ def area(
249
249
height = None ,
250
250
):
251
251
"""
252
- In a stacked area plot, each row of `data_frame` is represented as vertex
253
- of a polyline mark in 2D space. The area between successive polylines is
254
- filled.
252
+ In a stacked area plot, each row of `data_frame` is represented as
253
+ vertex of a polyline mark in 2D space. The area between successive
254
+ polylines is filled.
255
255
"""
256
256
return make_figure (
257
257
args = locals (),
@@ -353,8 +353,8 @@ def histogram(
353
353
):
354
354
"""
355
355
In a histogram, rows of `data_frame` are grouped together into a
356
- rectangular mark to visualize the 1D distribution of an aggregate function
357
- `histfunc` (e.g. the count or sum) of the value `y` (or `x` if
356
+ rectangular mark to visualize the 1D distribution of an aggregate
357
+ function `histfunc` (e.g. the count or sum) of the value `y` (or `x` if
358
358
`orientation` is `'h'`).
359
359
"""
360
360
return make_figure (
@@ -407,8 +407,8 @@ def violin(
407
407
height = None ,
408
408
):
409
409
"""
410
- In a violin plot, rows of `data_frame` are grouped together into a curved
411
- mark to visualize their distribution.
410
+ In a violin plot, rows of `data_frame` are grouped together into a
411
+ curved mark to visualize their distribution.
412
412
"""
413
413
return make_figure (
414
414
args = locals (),
@@ -462,11 +462,10 @@ def box(
462
462
In a box plot, rows of `data_frame` are grouped together into a
463
463
box-and-whisker mark to visualize their distribution.
464
464
465
- Each box spans from quartile 1 (Q1) to quartile 3 (Q3). The
466
- second quartile (Q2) is marked by a line inside the box. By
467
- default, the whiskers correspond to the box' edges +/- 1.5
468
- times the interquartile range (IQR: Q3-Q1), see "points" for
469
- other options.
465
+ Each box spans from quartile 1 (Q1) to quartile 3 (Q3). The second
466
+ quartile (Q2) is marked by a line inside the box. By default, the
467
+ whiskers correspond to the box' edges +/- 1.5 times the interquartile
468
+ range (IQR: Q3-Q1), see "points" for other options.
470
469
"""
471
470
return make_figure (
472
471
args = locals (),
@@ -510,8 +509,8 @@ def strip(
510
509
height = None ,
511
510
):
512
511
"""
513
- In a strip plot each row of `data_frame` is represented as a jittered mark
514
- within categories.
512
+ In a strip plot each row of `data_frame` is represented as a jittered
513
+ mark within categories.
515
514
"""
516
515
return make_figure (
517
516
args = locals (),
@@ -576,8 +575,8 @@ def scatter_3d(
576
575
height = None ,
577
576
):
578
577
"""
579
- In a 3D scatter plot, each row of `data_frame` is represented by a symbol
580
- mark in 3D space.
578
+ In a 3D scatter plot, each row of `data_frame` is represented by a
579
+ symbol mark in 3D space.
581
580
"""
582
581
return make_figure (args = locals (), constructor = go .Scatter3d )
583
582
@@ -623,8 +622,8 @@ def line_3d(
623
622
height = None ,
624
623
):
625
624
"""
626
- In a 3D line plot, each row of `data_frame` is represented as vertex of a
627
- polyline mark in 3D space.
625
+ In a 3D line plot, each row of `data_frame` is represented as vertex of
626
+ a polyline mark in 3D space.
628
627
"""
629
628
return make_figure (args = locals (), constructor = go .Scatter3d )
630
629
@@ -699,8 +698,8 @@ def line_ternary(
699
698
height = None ,
700
699
):
701
700
"""
702
- In a ternary line plot, each row of `data_frame` is represented as vertex
703
- of a polyline mark in ternary coordinates.
701
+ In a ternary line plot, each row of `data_frame` is represented as
702
+ vertex of a polyline mark in ternary coordinates.
704
703
"""
705
704
return make_figure (args = locals (), constructor = go .Scatterternary )
706
705
@@ -784,8 +783,8 @@ def line_polar(
784
783
height = None ,
785
784
):
786
785
"""
787
- In a polar line plot, each row of `data_frame` is represented as vertex of
788
- a polyline mark in polar coordinates.
786
+ In a polar line plot, each row of `data_frame` is represented as vertex
787
+ of a polyline mark in polar coordinates.
789
788
"""
790
789
return make_figure (args = locals (), constructor = go .Scatterpolar )
791
790
@@ -860,8 +859,8 @@ def choropleth(
860
859
height = None ,
861
860
):
862
861
"""
863
- In a choropleth map, each row of `data_frame` is represented by a colored
864
- region mark on a map.
862
+ In a choropleth map, each row of `data_frame` is represented by a
863
+ colored region mark on a map.
865
864
"""
866
865
return make_figure (
867
866
args = locals (),
@@ -905,8 +904,8 @@ def scatter_geo(
905
904
height = None ,
906
905
):
907
906
"""
908
- In a geographic scatter plot, each row of `data_frame` is represented by a
909
- symbol mark on a map.
907
+ In a geographic scatter plot, each row of `data_frame` is represented
908
+ by a symbol mark on a map.
910
909
"""
911
910
return make_figure (
912
911
args = locals (),
@@ -1021,8 +1020,8 @@ def line_mapbox(
1021
1020
height = None ,
1022
1021
):
1023
1022
"""
1024
- In a Mapbox line plot, each row of `data_frame` is represented as vertex of
1025
- a polyline mark on a Mapbox map.
1023
+ In a Mapbox line plot, each row of `data_frame` is represented as
1024
+ vertex of a polyline mark on a Mapbox map.
1026
1025
"""
1027
1026
return make_figure (args = locals (), constructor = go .Scattermapbox )
1028
1027
@@ -1057,8 +1056,9 @@ def scatter_matrix(
1057
1056
):
1058
1057
"""
1059
1058
In a scatter plot matrix (or SPLOM), each row of `data_frame` is
1060
- represented by a multiple symbol marks, one in each cell of a grid of 2D
1061
- scatter plots, which plot each pair of `dimensions` against each other.
1059
+ represented by a multiple symbol marks, one in each cell of a grid of
1060
+ 2D scatter plots, which plot each pair of `dimensions` against each
1061
+ other.
1062
1062
"""
1063
1063
return make_figure (
1064
1064
args = locals (), constructor = go .Splom , layout_patch = dict (dragmode = "select" )
@@ -1082,9 +1082,9 @@ def parallel_coordinates(
1082
1082
height = None ,
1083
1083
):
1084
1084
"""
1085
- In a parallel coordinates plot, each row of `data_frame` is represented by
1086
- a polyline mark which traverses a set of parallel axes, one for each of the
1087
- `dimensions`.
1085
+ In a parallel coordinates plot, each row of `data_frame` is represented
1086
+ by a polyline mark which traverses a set of parallel axes, one for each
1087
+ of the `dimensions`.
1088
1088
"""
1089
1089
return make_figure (args = locals (), constructor = go .Parcoords )
1090
1090
@@ -1106,10 +1106,10 @@ def parallel_categories(
1106
1106
height = None ,
1107
1107
):
1108
1108
"""
1109
- In a parallel categories (or parallel sets) plot, each row of `data_frame`
1110
- is grouped with other rows that share the same values of `dimensions` and
1111
- then plotted as a polyline mark through a set of parallel axes, one for
1112
- each of the `dimensions`.
1109
+ In a parallel categories (or parallel sets) plot, each row of
1110
+ `data_frame` is grouped with other rows that share the same values of
1111
+ `dimensions` and then plotted as a polyline mark through a set of
1112
+ parallel axes, one for each of the `dimensions`.
1113
1113
"""
1114
1114
return make_figure (args = locals (), constructor = go .Parcats )
1115
1115
@@ -1136,7 +1136,8 @@ def pie(
1136
1136
hole = None ,
1137
1137
):
1138
1138
"""
1139
- In a pie plot, each row of `data_frame` is represented as a sector of a pie.
1139
+ In a pie plot, each row of `data_frame` is represented as a sector of a
1140
+ pie.
1140
1141
"""
1141
1142
if color_discrete_sequence is not None :
1142
1143
layout_patch = {"piecolorway" : color_discrete_sequence }
@@ -1228,7 +1229,8 @@ def treemap(
1228
1229
maxdepth = None ,
1229
1230
):
1230
1231
"""
1231
- A treemap plot represents hierarchial data as nested rectangular sectors.
1232
+ A treemap plot represents hierarchial data as nested rectangular
1233
+ sectors.
1232
1234
"""
1233
1235
if color_discrete_sequence is not None :
1234
1236
layout_patch = {"treemapcolorway" : color_discrete_sequence }
@@ -1275,7 +1277,8 @@ def funnel(
1275
1277
height = None ,
1276
1278
):
1277
1279
"""
1278
- In a funnel plot, each row of `data_frame` is represented as a rectangular sector of a funnel.
1280
+ In a funnel plot, each row of `data_frame` is represented as a
1281
+ rectangular sector of a funnel.
1279
1282
"""
1280
1283
return make_figure (
1281
1284
args = locals (),
@@ -1305,7 +1308,8 @@ def funnel_area(
1305
1308
opacity = None ,
1306
1309
):
1307
1310
"""
1308
- In a funnel area plot, each row of `data_frame` is represented as a trapezoidal sector of a funnel.
1311
+ In a funnel area plot, each row of `data_frame` is represented as a
1312
+ trapezoidal sector of a funnel.
1309
1313
"""
1310
1314
if color_discrete_sequence is not None :
1311
1315
layout_patch = {"funnelareacolorway" : color_discrete_sequence }
0 commit comments