Skip to content

Commit

Permalink
fix metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
LiamConnors committed Aug 29, 2024
1 parent 38afbf0 commit f34d599
Show file tree
Hide file tree
Showing 15 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion 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 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 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 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 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 doc/python/lines-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: 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 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 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 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 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 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 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 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 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 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

0 comments on commit f34d599

Please sign in to comment.