Skip to content

Commit 31e1f8f

Browse files
authored
Merge branch 'master' into update-plotly-js-version-2-35-1
2 parents c72b77e + 85bad44 commit 31e1f8f

9 files changed

+14
-10
lines changed

doc/apidoc/plotly.graph_objects.rst

+3
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,9 @@ Map Traces
9999

100100
Scattergeo
101101
Choropleth
102+
Scattermap
103+
Choroplethmap
104+
Densitymap
102105
Scattermapbox
103106
Choroplethmapbox
104107
Densitymapbox

doc/python/mapbox-density-heatmaps.md doc/python/density-heatmaps.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ fig.show()
7272

7373
> Mapbox traces are deprecated and may be removed in a future version of Plotly.py.
7474
75-
The earlier examples using `px.density_mapbox` and `go.Densitymap` use [Maplibre](https://maplibre.org/maplibre-gl-js/docs/) 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](https://docs.mapbox.com): `density_mapbox` and `go.Densitymapbox`.
75+
The earlier examples using `px.density_map` and `go.Densitymap` use [Maplibre](https://maplibre.org/maplibre-gl-js/docs/) 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](https://docs.mapbox.com): `density_mapbox` and `go.Densitymapbox`.
7676

7777
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.
7878

doc/python/filled-area-on-mapbox.md doc/python/filled-area-tile-maps.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jupyter:
2626
display_as: maps
2727
language: python
2828
layout: base
29-
name: Filled Area on Maps
29+
name: Filled Area on Tile Maps
3030
order: 4
3131
page_type: example_index
3232
permalink: python/filled-area-tile-maps/

doc/python/lines-on-mapbox.md doc/python/lines-on-tile-maps.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ jupyter:
2626
display_as: maps
2727
language: python
2828
layout: base
29-
name: Lines on Maps
29+
name: Lines on Tile Maps
3030
order: 3
3131
page_type: example_index
3232
permalink: python/lines-on-tile-maps/
3333
redirect_from: python/lines-on-mapbox/
3434
thumbnail: thumbnail/line_mapbox.jpg
3535
---
3636

37-
### Lines on maps using Plotly Express
37+
### Lines on tile maps using Plotly Express
3838

3939
To draw a line on a map, you either can use `px.line_map` in Plotly Express, or `go.Scattermap` in Plotly Graph Objects. Here's an example of drawing a line on a tile-based map using Plotly Express.
4040

doc/python/map-configuration.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Plotly supports two different kinds of maps:
3939

4040
- **[Tile-based maps](https://en.wikipedia.org/wiki/Tiled_web_map)**
4141

42-
If your figure is created with a `px.scatter_map`, `px.scatter_mapbox`, `px.line_map`, `px.line_mapbox`, `px.choropleth_map`, `px.choropleth_mapbox`, `px.density_map`, or `px.density_mapbox` function or otherwise contains one or more traces of type `go.Scattermap`, `go.Scattermapbox`,`go.Choroplethmap`, `go.Choroplethmapbox`, `go.Densitymap`, or `go.Densitymapbox` the `layout.map` object in your figure contains configuration information for the map itself.
42+
If your figure is created with a `px.scatter_map`, `px.scatter_mapbox`, `px.line_map`, `px.line_mapbox`, `px.choropleth_map`, `px.choropleth_mapbox`, `px.density_map`, or `px.density_mapbox` function or otherwise contains one or more traces of type `go.Scattermap`, `go.Scattermapbox`, `go.Choroplethmap`, `go.Choroplethmapbox`, `go.Densitymap`, or `go.Densitymapbox`, the `layout.map` object in your figure contains configuration information for the map itself.
4343

4444
- **Outline-based maps**
4545

doc/python/smoothing.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ fig.add_trace(go.Scatter(
9595

9696
fig.add_trace(go.Scatter(
9797
x=x,
98-
y=signal.savgol_filter(y,
98+
y=signal.savgol_filter(y_noise,
9999
53, # window size used for filtering
100100
3), # order of fitted polynomial
101101
mode='markers',
File renamed without changes.

doc/python/mapbox-layers.md doc/python/tile-map-layers.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ jupyter:
2929
name: Tile Map Layers
3030
order: 9
3131
page_type: u-guide
32-
permalink: /python/tile-map-layers/
33-
redirect_from: /python/mapbox-layers/
32+
permalink: python/tile-map-layers/
33+
redirect_from: python/mapbox-layers/
3434
thumbnail: thumbnail/mapbox-layers.png
3535
---
3636

@@ -42,7 +42,7 @@ Plotly supports two different kinds of maps:
4242

4343
- **[Tile-based maps](https://en.wikipedia.org/wiki/Tiled_web_map)**
4444

45-
If your figure is created with a `px.scatter_map`, `px_scatter_mapbox`, `px.line_map`, `px.line_mapbox`, `px.choropleth_map`, `px.choropleth_mapbox`, `px.density_map`, or `px.density_mapbox` function or otherwise contains one or more traces of type `go.Scattermap`, `go.Scattermapbox`,`go.Choroplethmap`, `go.Choroplethmapbox`, `go.Densitymap`, or `go.Densitymapbox` the `layout.map` or `layout.mapbox` object in your figure contains configuration information for the map itself.
45+
If your figure is created with a `px.scatter_map`, `px_scatter_mapbox`, `px.line_map`, `px.line_mapbox`, `px.choropleth_map`, `px.choropleth_mapbox`, `px.density_map`, or `px.density_mapbox` function or otherwise contains one or more traces of type `go.Scattermap`, `go.Scattermapbox`, `go.Choroplethmap`, `go.Choroplethmapbox`, `go.Densitymap`, or `go.Densitymapbox`, the `layout.map` or `layout.mapbox` object in your figure contains configuration information for the map itself.
4646

4747
- **Outline-based maps**
4848

doc/python/scattermapbox.md doc/python/tile-scatter-maps.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jupyter:
2626
display_as: maps
2727
language: python
2828
layout: base
29-
name: Scatter Plots on Mapbox
29+
name: Scatter Plots on Tile Maps
3030
order: 10
3131
page_type: u-guide
3232
permalink: python/tile-scatter-maps/
@@ -303,6 +303,7 @@ fig.show()
303303
## Mapbox Maps
304304

305305
> Mapbox traces are deprecated and may be removed in a future version of Plotly.py.
306+
306307
The earlier examples using `px.scatter_map` and `go.Scattermap` use [Maplibre](https://maplibre.org/maplibre-gl-js/docs/) for rendering. These traces were introduced in Plotly.py 5.24 and are now the recommended way to create scatter plots on tile-based maps. There are also traces that use [Mapbox](https://docs.mapbox.com): `px.scatter_mapbox` and `go.Scattermapbox`
307308

308309
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.

0 commit comments

Comments
 (0)