Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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.

Already 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
fix metadata
  • Loading branch information
LiamConnors committed Aug 29, 2024
commit f34d599a1b7051c6ac21dc653b9efe802dcaf29f
2 changes: 1 addition & 1 deletion 2 doc/python/bubble-maps.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jupyter:
language: python
layout: base
name: Bubble Maps
order: 4
order: 5
page_type: example_index
permalink: python/bubble-maps/
thumbnail: thumbnail/bubble-map.jpg
Expand Down
2 changes: 1 addition & 1 deletion 2 doc/python/choropleth-maps.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jupyter:
language: python
layout: base
name: Choropleth Maps
order: 7
order: 8
page_type: u-guide
permalink: python/choropleth-maps/
thumbnail: thumbnail/choropleth.jpg
Expand Down
2 changes: 1 addition & 1 deletion 2 doc/python/county-choropleth.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jupyter:
language: python
layout: base
name: USA County Choropleth Maps
order: 10
order: 11
page_type: u-guide
permalink: python/county-choropleth/
thumbnail: thumbnail/county-choropleth-usa-greybkgd.jpg
Expand Down
2 changes: 1 addition & 1 deletion 2 doc/python/filled-area-on-mapbox.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jupyter:
language: python
layout: base
name: Filled Area on Maps
order: 3
order: 4
page_type: example_index
permalink: python/filled-area-tile-maps/
redirect_from: python/filled-area-on-mapbox/
Expand Down
2 changes: 1 addition & 1 deletion 2 doc/python/hexbin-mapbox.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jupyter:
language: python
layout: base
name: Hexbin Mapbox
order: 13
order: 14
page_type: u-guide
permalink: python/hexbin-mapbox/
thumbnail: thumbnail/hexbin_mapbox.jpg
Expand Down
2 changes: 1 addition & 1 deletion 2 doc/python/lines-on-mapbox.md
ndrezn marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jupyter:
language: python
layout: base
name: Lines on Maps
order: 2
order: 3
page_type: example_index
permalink: python/lines-on-tile-maps/
redirect_from: python/lines-on-mapbox/
Expand Down
2 changes: 1 addition & 1 deletion 2 doc/python/lines-on-maps.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jupyter:
language: python
layout: base
name: Lines on Maps
order: 6
order: 7
page_type: u-guide
permalink: python/lines-on-maps/
thumbnail: thumbnail/flight-paths.jpg
Expand Down
2 changes: 1 addition & 1 deletion 2 doc/python/map-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jupyter:
language: python
layout: base
name: Map Configuration and Styling on Geo Maps
order: 12
order: 13
page_type: u-guide
permalink: python/map-configuration/
thumbnail: thumbnail/county-level-choropleth.jpg
Expand Down
2 changes: 1 addition & 1 deletion 2 doc/python/mapbox-county-choropleth.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jupyter:
language: python
layout: base
name: Tile Choropleth Maps
order: 1
order: 2
page_type: example_index
permalink: python/tile-county-choropleth/
redirect_from: python/mapbox-county-choropleth/
Expand Down
2 changes: 1 addition & 1 deletion 2 doc/python/mapbox-density-heatmaps.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jupyter:
language: python
layout: base
name: Density Heatmap
order: 5
order: 6
page_type: u-guide
permalink: python/density-heatmaps/
redirect_from: python/mapbox-density-heatmaps/
Expand Down
10 changes: 5 additions & 5 deletions 10 doc/python/mapbox-layers.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jupyter:
language: python
layout: base
name: Tile Map Layers
order: 8
order: 9
page_type: u-guide
permalink: /python/tile-map-layers/
redirect_from: /python/mapbox-layers/
Expand Down Expand Up @@ -222,7 +222,7 @@ fig.show()
<!-- #region -->
### Mapbox

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

#### How Layers Work in Mapbox Tile Maps

Expand All @@ -234,11 +234,11 @@ Mapbox tile maps are composed of various layers, of three different types:

#### Mapbox Access Tokens and When You Need Them

The word "mapbox" in the trace names and `layout.mapbox` refers to the Mapbox GL JS open-source library, which is integrated into Plotly.py.
The word "mapbox" in the trace names and `layout.mapbox` refers to the Mapbox GL JS open-source library, which is integrated into Plotly.py.

If your basemap in `layout.mapbox.style` uses data from the Mapbox _service_, then you will need to register for a free account at https://mapbox.com/ and obtain a Mapbox Access token. This token should be provided in `layout.mapbox.access_token` (or, if using Plotly Express, via the `px.set_mapbox_access_token()` configuration function).

If you basemap in `layout.mapbox.style` uses maps from the [Stadia Maps service](https://www.stadiamaps.com) (see below for details), you'll need to register for a Stadia Maps account and token.
If you basemap in `layout.mapbox.style` uses maps from the [Stadia Maps service](https://www.stadiamaps.com) (see below for details), you'll need to register for a Stadia Maps account and token.


#### Base Maps in `layout.mapbox.style`
Expand All @@ -248,7 +248,7 @@ The accepted values for `layout.mapbox.style` are one of:
- `"white-bg"` yields an empty white canvas which results in no external HTTP requests
- `"open-street-map"`, `"carto-positron"`, and `"carto-darkmatter"` yield maps composed of _raster_ tiles from various public tile servers which do not require signups or access tokens.
- `"basic"`, `"streets"`, `"outdoors"`, `"light"`, `"dark"`, `"satellite"`, or `"satellite-streets"` yield maps composed of _vector_ tiles from the Mapbox service, and _do_ require a Mapbox Access Token or an on-premise Mapbox installation.
- `"stamen-terrain"`, `"stamen-toner"` or `"stamen-watercolor"` yield maps composed of _raster_ tiles from the [Stadia Maps service](https://www.stadiamaps.com), and require a Stadia Maps account and token.
- `"stamen-terrain"`, `"stamen-toner"` or `"stamen-watercolor"` yield maps composed of _raster_ tiles from the [Stadia Maps service](https://www.stadiamaps.com), and require a Stadia Maps account and token.
- A Mapbox service style URL, which requires a Mapbox Access Token or an on-premise Mapbox installation.
- A Mapbox Style object as defined at https://docs.mapbox.com/mapbox-gl-js/style-spec/

Expand Down
6 changes: 3 additions & 3 deletions 6 doc/python/migrate-to-maplibre.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ jupyter:
version: 3.10.11
plotly:
description: Migrating from Mapbox traces to MapLibre traces.
display_as: basic
display_as: maps
language: python
layout: base
name: MapLibre Migration
order: 1
page_type: example_index
page_type: u-guide
permalink: python/mapbox-to-maplibre/
thumbnail: thumbnail/line-and-scatter.jpg
thumbnail: thumbnail/mapbox-layers.png
---

## Migrating from Mapbox traces to MapLibre traces
Expand Down
2 changes: 1 addition & 1 deletion 2 doc/python/scatter-plots-on-maps.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jupyter:
language: python
layout: base
name: Scatter Plots on Maps
order: 11
order: 12
page_type: u-guide
permalink: python/scatter-plots-on-maps/
thumbnail: thumbnail/scatter-plot-on-maps.jpg
Expand Down
2 changes: 1 addition & 1 deletion 2 doc/python/scattermapbox.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jupyter:
language: python
layout: base
name: Scatter Plots on Mapbox
order: 9
order: 10
page_type: u-guide
permalink: python/tile-scatter-maps/
redirect_from: python/scattermapbox/
Expand Down
2 changes: 1 addition & 1 deletion 2 doc/unconverted/python/tesla-supercharging-stations.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jupyter:
language: python
layout: base
name: Tesla Supercharging Stations
order: 10
order: 11
page_type: u-guide
permalink: python/tesla-supercharging-stations/
thumbnail: thumbnail/tesla-stations.jpg
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.