Skip to content

Commit b849b38

Browse files
committed
add deprecation notice
1 parent 4b382e3 commit b849b38

5 files changed

+10
-2
lines changed

Diff for: doc/python/filled-area-on-mapbox.md

+2
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,8 @@ fig.show()
137137
<!-- #region -->
138138
### Mapbox Maps
139139

140+
> Mapbox traces are deprecated and may be removed in a future version of Plotly.py.
141+
140142
The earlier examples using `go.Scattermap` use Maplibre for rendering. These traces were introduced in Plotly.py 5.24 and is now the recommended way to draw filled areas on tile-based maps. There is also a trace that uses Mapbox, called `go.Scattermapbox`.
141143

142144
To use the `Scattermapbox` trace type, in some cases you _may_ need a Mapbox account and a public [Mapbox Access Token](https://www.mapbox.com/studio). See our [Mapbox Map Layers](/python/mapbox-layers/) documentation for more information.

Diff for: doc/python/lines-on-mapbox.md

+2
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,8 @@ fig.show()
129129

130130
### Mapbox Maps
131131

132+
> Mapbox traces are deprecated and may be removed in a future version of Plotly.py.
133+
132134
The earlier examples using `px.line_map` and `go.Scattermap` use Maplibre for rendering. These traces were introduced in Plotly.py 5.24 and are now the recommended way to draw lines on tile-based maps. There are also traces that use Mapbox: `px.line_mapbox` and `go.Scattermapbox`
133135

134136
To plot on Mapbox maps with Plotly you _may_ need a Mapbox account and a public [Mapbox Access Token](https://www.mapbox.com/studio). See our [Mapbox Map Layers](/python/mapbox-layers/) documentation for more information.

Diff for: doc/python/mapbox-county-choropleth.md

+2
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,8 @@ fig.show()
220220

221221
### Mapbox Maps
222222

223+
> Mapbox traces are deprecated and may be removed in a future version of Plotly.py.
224+
223225
The earlier examples using `px.choropleth_map` and `go.Choroplethmap` use Maplibre for rendering. These traces were introduced in Plotly.py 5.24 and are now the recommended way to create tile-based choropleth maps. There are also choropleth traces that use Mapbox: `px.choropleth_mapbox` and `go.Choroplethmapbox`
224226

225227
To plot on Mapbox maps with Plotly you _may_ need a Mapbox account and a public [Mapbox Access Token](https://www.mapbox.com/studio). See our [Mapbox Map Layers](/python/mapbox-layers/) documentation for more information.

Diff for: doc/python/mapbox-density-heatmaps.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ fig.show()
7070
<!-- #region -->
7171
### Mapbox Maps
7272

73+
> Mapbox traces are deprecated and may be removed in a future version of Plotly.py.
74+
7375
The earlier examples using `px.density_mapbox` and `go.Densitymap` use Maplibre for rendering. These traces were introduced in Plotly.py 5.24. These trace types are now the recommended way to make tile-based density heatmaps. There are also traces that use Mapbox: `density_mapbox` and `go.Densitymapbox`.
7476

7577
To use these trace types, in some cases you _may_ need a Mapbox account and a public [Mapbox Access Token](https://www.mapbox.com/studio). See our [Mapbox Map Layers](/python/mapbox-layers/) documentation for more information.
@@ -89,7 +91,6 @@ fig.show()
8991

9092
<!-- #endregion -->
9193

92-
<!-- #region -->
9394
<!-- #region -->
9495
#### Stamen Terrain base map (Stadia Maps token needed): density heatmap with `plotly.express`
9596

@@ -110,7 +111,6 @@ fig.update_layout(mapbox_accesstoken=token)
110111
fig.show()
111112
```
112113

113-
<!-- #endregion -->
114114

115115
<!-- #endregion -->
116116

Diff for: doc/python/mapbox-layers.md

+2
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,8 @@ fig.show()
222222
<!-- #region -->
223223
### Mapbox
224224

225+
> Mapbox traces are deprecated and may be removed in a future version of Plotly.py.
226+
225227
#### How Layers Work in Mapbox Tile Maps
226228

227229
Mapbox tile maps are composed of various layers, of three different types:

0 commit comments

Comments
 (0)