You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: python/mapbox-county-choropleth.md
+16-18Lines changed: 16 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -20,20 +20,20 @@ jupyter:
20
20
name: python
21
21
nbconvert_exporter: python
22
22
pygments_lexer: ipython3
23
-
version: 3.6.7
23
+
version: 3.6.8
24
24
plotly:
25
-
description: How to make a Mapbox Choropleth Map of US Counties in Python
26
-
with Plotly.
25
+
description: How to make a Mapbox Choropleth Map of US Counties in Python with
26
+
Plotly.
27
27
display_as: maps
28
28
has_thumbnail: true
29
29
ipynb: ~notebook_demo/56
30
30
language: python
31
31
layout: user-guide
32
32
name: Mapbox Choropleth Maps
33
-
order: 1.5
34
-
page_type: u-guide
33
+
order: 1
34
+
page_type: example_index
35
35
permalink: python/mapbox-county-choropleth/
36
-
thumbnail: thumbnail/county-level-choropleth.jpg
36
+
thumbnail: thumbnail/mapbox-choropleth.png
37
37
title: Python Mapbox Choropleth Maps | plotly
38
38
---
39
39
@@ -43,12 +43,9 @@ jupyter:
43
43
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.
44
44
45
45
46
-
#### Mapbox Light base map: free token needed
46
+
#### Carto base map: no token needed
47
47
48
48
```python
49
-
token =open(".mapbox_token").read() # you will need your own token
50
-
51
-
52
49
from urllib.request import urlopen
53
50
import json
54
51
with urlopen('https://raw.githubusercontent.com/plotly/datasets/master/geojson-counties-fips.json') as response:
0 commit comments