8000 Updates for maplibre maps by LiamConnors · Pull Request #4706 · plotly/plotly.py · GitHub
[go: up one dir, main page]

Skip to content

Updates for maplibre maps #4706

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Alre 8000 ady on GitHub? Sign in to your account

Merged
merged 45 commits into from
Aug 29, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
a4a785e
remove mapbox reference
LiamConnors Jul 26, 2024
a913463
update to new map types
LiamConnors Jul 26, 2024
76f6756
fix typo
LiamConnors Jul 26, 2024
608d114
update choropleth for maplibre changes
LiamConnors Jul 26, 2024
9dc8202
add new map types
LiamConnors Jul 26, 2024
4a70af6
update density heatmaps + fix typo
LiamConnors Jul 26, 2024
2e0f184
Update scattermapbox.md
LiamConnors Jul 26, 2024
3b581e6
various updates for new map traces
LiamConnors Jul 30, 2024
b90f6ea
small edits
LiamConnors Aug 1, 2024
8e2538d
update map layers doc
LiamConnors Aug 3, 2024
671c80d
add stamen example
LiamConnors Aug 3, 2024
4b382e3
updates for new maps
LiamConnors Aug 3, 2024
b849b38
add deprecation notice
LiamConnors Aug 6, 2024
58b3e61
Update doc/python/scattermapbox.md
LiamConnors Aug 6, 2024
bce8097
fix code errors
LiamConnors Aug 7, 2024
fdae821
Update datashader.md
LiamConnors Aug 7, 2024
022b995
Update filled-area-on-mapbox.md
LiamConnors Aug 7, 2024
7983874
Update line-charts.md
LiamConnors Aug 7, 2024
614e37e
Update doc/python/map-configuration.md
LiamConnors Aug 7, 2024
31fde09
update symbol
LiamConnors Aug 7, 2024
ef80408
Update heatmaps.md
LiamConnors Aug 7, 2024
8fcb2bf
Update hover-text-and-formatting.md
LiamConnors Aug 7, 2024
fa931e4
Update hover-text-and-formatting.md
LiamConnors Aug 7, 2024
1ffb776
add links
LiamConnors Aug 7, 2024
10c5104
Merge branch 'master' into maplibre-tests
LiamConnors Aug 8, 2024
155f434
add map to doc/apidoc/plotly.express.rst
archmoj Aug 6, 2024
72bacb5
new map subplots & traces to px, etc.
archmoj Aug 6, 2024
ba9c413
update plotly.js v2.34.0-327-g056799dfc
archmoj Aug 23, 2024
e994f13
Update doc/python/mapbox-density-heatmaps.md
LiamConnors Aug 27, 2024
b7aff21
Update doc/python/mapbox-density-heatmaps.md
LiamConnors Aug 27, 2024
b0c45b3
Add migration guide
ndrezn Aug 27, 2024
e243e6d
Update packages/python/plotly/plotly/express/_doc.py
archmoj Aug 27, 2024
7e2eefc
update descriptions
archmoj Aug 28, 2024
8872f0b
Update doc/python/figure-structure.md
LiamConnors Aug 28, 2024
792a5e9
Update doc/python/migrate-to-maplibre.md
ndrezn Aug 28, 2024
af83303
Update doc/python/migrate-to-maplibre.md
ndrezn Aug 28, 2024
376c6db
Remove redirect
ndrezn Aug 28, 2024
fd12157
Update doc/python/axes.md
LiamConnors Aug 29, 2024
2bd7dc6
Add perma links for style comparisons
ndrezn Aug 29, 2024
4fc6d81
Revert "update plotly.js v2.34.0-327-g056799dfc"
LiamConnors Aug 29, 2024
24730c3
Merge pull request #4726 from plotly/maplibre-tests_with-px
LiamConnors Aug 29, 2024
38afbf0
Merge branch 'master' into maplibre-tests
LiamConnors Aug 29, 2024
a1c7f88
Merge branch 'master' into maplibre-tests
LiamConnors Aug 29, 2024
f34d599
fix metadata
LiamConnors Aug 29, 2024
65d97a0
Merge branch 'maplibre-tests' of https://github.com/plotly/plotly.py …
LiamConnors Aug 29, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add deprecation notice
  • Loading branch information
LiamConnors committed Aug 6, 2024
commit b849b3836155cd24b94e5960afe32e1ff3e04eaf
2 changes: 2 additions & 0 deletions doc/python/filled-area-on-mapbox.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,8 @@ fig.show()
<!-- #region -->
### Mapbox Maps

> Mapbox traces are deprecated and may be removed in a future version of Plotly.py.

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

To use the `Scattermapbox` trac 8000 e 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.
Expand Down
2 changes: 2 additions & 0 deletions doc/python/lines-on-mapbox.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,8 @@ fig.show()

### Mapbox Maps

> Mapbox traces are deprecated and may be removed in a future version of Plotly.py.

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`

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.
Expand Down
2 changes: 2 additions & 0 deletions doc/python/mapbox-county-choropleth.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,8 @@ fig.show()

### Mapbox Maps

> Mapbox traces are deprecated and may be removed in a future version of Plotly.py.

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`

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.
Expand Down
4 changes: 2 additions & 2 deletions doc/python/mapbox-density-heatmaps.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ fig.show()
<!-- #region -->
### Mapbox Maps

> Mapbox traces are deprecated and may be removed in a future version of Plotly.py.

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

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.
Expand All @@ -89,7 +91,6 @@ fig.show()

<!-- #endregion -->

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

Expand All @@ -110,7 +111,6 @@ fig.update_layout(mapbox_accesstoken=token)
fig.show()
```

<!-- #endregion -->

<!-- #endregion -->

Expand Down
2 changes: 2 additions & 0 deletions doc/python/mapbox-layers.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,8 @@ fig.show()
<!-- #region -->
### Mapbox

> Mapbox traces are deprecated and may be removed in a future version of Plotly.py.

#### How Layers Work in Mapbox Tile Maps

Mapbox tile maps are composed of various layers, of three different types:
Expand Down
0