@@ -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
@@ -858,8 +857,8 @@ def choropleth(
858
857
height = None ,
859
858
):
860
859
"""
861
- In a choropleth map, each row of `data_frame` is represented by a colored
862
- region mark on a map.
860
+ In a choropleth map, each row of `data_frame` is represented by a
861
+ colored region mark on a map.
863
862
"""
864
863
return make_figure (
865
864
args = locals (),
@@ -903,8 +902,8 @@ def scatter_geo(
903
902
height = None ,
904
903
):
905
904
"""
906
- In a geographic scatter plot, each row of `data_frame` is represented by a
907
- symbol mark on a map.
905
+ In a geographic scatter plot, each row of `data_frame` is represented
906
+ by a symbol mark on a map.
908
907
"""
909
908
return make_figure (
910
909
args = locals (),
@@ -1102,8 +1101,8 @@ def line_mapbox(
1102
1101
height = None ,
1103
1102
):
1104
1103
"""
1105
- In a Mapbox line plot, each row of `data_frame` is represented as vertex of
1106
- a polyline mark on a Mapbox map.
1104
+ In a Mapbox line plot, each row of `data_frame` is represented as
1105
+ vertex of a polyline mark on a Mapbox map.
1107
1106
"""
1108
1107
return make_figure (args = locals (), constructor = go .Scattermapbox )
1109
1108
@@ -1138,8 +1137,9 @@ def scatter_matrix(
1138
1137
):
1139
1138
"""
1140
1139
In a scatter plot matrix (or SPLOM), each row of `data_frame` is
1141
- represented by a multiple symbol marks, one in each cell of a grid of 2D
1142
- scatter plots, which plot each pair of `dimensions` against each other.
1140
+ represented by a multiple symbol marks, one in each cell of a grid of
1141
+ 2D scatter plots, which plot each pair of `dimensions` against each
1142
+ other.
1143
1143
"""
1144
1144
return make_figure (
1145
1145
args = locals (), constructor = go .Splom , layout_patch = dict (dragmode = "select" )
@@ -1163,9 +1163,9 @@ def parallel_coordinates(
1163
1163
height = None ,
1164
1164
):
1165
1165
"""
1166
- In a parallel coordinates plot, each row of `data_frame` is represented by
1167
- a polyline mark which traverses a set of parallel axes, one for each of the
1168
- `dimensions`.
1166
+ In a parallel coordinates plot, each row of `data_frame` is represented
1167
+ by a polyline mark which traverses a set of parallel axes, one for each
1168
+ of the `dimensions`.
1169
1169
"""
1170
1170
return make_figure (args = locals (), constructor = go .Parcoords )
1171
1171
@@ -1187,10 +1187,10 @@ def parallel_categories(
1187
1187
height = None ,
1188
1188
):
1189
1189
"""
1190
- In a parallel categories (or parallel sets) plot, each row of `data_frame`
1191
- is grouped with other rows that share the same values of `dimensions` and
1192
- then plotted as a polyline mark through a set of parallel axes, one for
1193
- each of the `dimensions`.
1190
+ In a parallel categories (or parallel sets) plot, each row of
1191
+ `data_frame` is grouped with other rows that share the same values of
1192
+ `dimensions` and then plotted as a polyline mark through a set of
1193
+ parallel axes, one for each of the `dimensions`.
1194
1194
"""
1195
1195
return make_figure (args = locals (), constructor = go .Parcats )
1196
1196
@@ -1217,7 +1217,8 @@ def pie(
1217
1217
hole = None ,
1218
1218
):
1219
1219
"""
1220
- In a pie plot, each row of `data_frame` is represented as a sector of a pie.
1220
+ In a pie plot, each row of `data_frame` is represented as a sector of a
1221
+ pie.
1221
1222
"""
1222
1223
if color_discrete_sequence is not None :
1223
1224
layout_patch = {"piecolorway" : color_discrete_sequence }
@@ -1309,7 +1310,8 @@ def treemap(
1309
1310
maxdepth = None ,
1310
1311
):
1311
1312
"""
1312
- A treemap plot represents hierarchial data as nested rectangular sectors.
1313
+ A treemap plot represents hierarchial data as nested rectangular
1314
+ sectors.
1313
1315
"""
1314
1316
if color_discrete_sequence is not None :
1315
1317
layout_patch = {"treemapcolorway" : color_discrete_sequence }
@@ -1356,7 +1358,8 @@ def funnel(
1356
1358
height = None ,
1357
1359
):
1358
1360
"""
1359
- In a funnel plot, each row of `data_frame` is represented as a rectangular sector of a funnel.
1361
+ In a funnel plot, each row of `data_frame` is represented as a
1362
+ rectangular sector of a funnel.
1360
1363
"""
1361
1364
return make_figure (
1362
1365
args = locals (),
@@ -1386,7 +1389,8 @@ def funnel_area(
1386
1389
opacity = None ,
1387
1390
):
1388
1391
"""
1389
- In a funnel area plot, each row of `data_frame` is represented as a trapezoidal sector of a funnel.
1392
+ In a funnel area plot, each row of `data_frame` is represented as a
1393
+ trapezoidal sector of a funnel.
1390
1394
"""
1391
1395
if color_discrete_sequence is not None :
1392
1396
layout_patch = {"funnelareacolorway" : color_discrete_sequence }
0 commit comments