Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7e2eefc

Browse files
committed
update descriptions
1 parent e243e6d commit 7e2eefc

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

packages/python/plotly/plotly/_subplots.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,8 @@ def make_subplots(
150150
- 'scene': 3D Cartesian subplot for scatter3d, cone, etc.
151151
- 'polar': Polar subplot for scatterpolar, barpolar, etc.
152152
- 'ternary': Ternary subplot for scatterternary
153-
- 'map': Map subplot for scattermap
154-
- 'mapbox': Mapbox subplot for scattermapbox
153+
- 'map': Map subplot for scattermap, choroplethmap and densitymap
154+
- 'mapbox': Mapbox subplot for scattermapbox, choroplethmapbox and densitymapbox
155155
- 'domain': Subplot type for traces that are individually
156156
positioned. pie, parcoords, parcats, etc.
157157
- trace type: A trace type which will be used to determine

packages/python/plotly/plotly/express/_chart_types.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1241,7 +1241,7 @@ def scatter_map(
12411241
height=None,
12421242
) -> go.Figure:
12431243
"""
1244-
In a Map scatter plot, each row of `data_frame` is represented by a
1244+
In a scatter map, each row of `data_frame` is represented by a
12451245
symbol mark on the map.
12461246
"""
12471247
return make_figure(args=locals(), constructor=go.Scattermap)
@@ -1278,7 +1278,7 @@ def choropleth_map(
12781278
height=None,
12791279
) -> go.Figure:
12801280
"""
1281-
In a Map choropleth map, each row of `data_frame` is represented by a
1281+
In a choropleth map, each row of `data_frame` is represented by a
12821282
colored region on the map.
12831283
"""
12841284
return make_figure(args=locals(), constructor=go.Choroplethmap)
@@ -1313,7 +1313,7 @@ def density_map(
13131313
height=None,
13141314
) -> go.Figure:
13151315
"""
1316-
In a Map density map, each row of `data_frame` contributes to the intensity of
1316+
In a density map, each row of `data_frame` contributes to the intensity of
13171317
the color of the region around the corresponding point on the map
13181318
"""
13191319
return make_figure(
@@ -1349,7 +1349,7 @@ def line_map(
13491349
height=None,
13501350
) -> go.Figure:
13511351
"""
1352-
In a Map line plot, each row of `data_frame` is represented as
1352+
In a line map, each row of `data_frame` is represented as
13531353
vertex of a polyline mark on the map.
13541354
"""
13551355
return make_figure(args=locals(), constructor=go.Scattermap)

0 commit comments

Comments
 (0)