Skip to content

Commit 9928ba7

Browse files
authored
Merge pull request #5418 from plotly/add-maps
Add new maps page with list of ISO codes, US states, and info on country names
2 parents 9438a05 + eb1dfd8 commit 9928ba7

File tree

2 files changed

+481
-2
lines changed

2 files changed

+481
-2
lines changed

doc/python/choropleth-maps.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ In **Plotly.py 6.3 and later**, the built-in countries geometry is created from
216216

217217
In **earlier versions of Plotly.py**, the built-in countries geometry is based on Natural Earth data only. Plotly includes data from Natural Earth "as-is". This dataset draws boundaries of countries according to de facto status. See the [Natural Earth page for more details](https://www.naturalearthdata.com/downloads/50m-cultural-vectors/50m-admin-0-countries-2/).
218218

219-
To use the built-in countries geometry, provide `locations` as [three-letter ISO country codes](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3).
219+
To use the built-in countries geometry, provide `locations` as [three-letter ISO country codes](/python/outline-map-locations/#supported-iso-codes).
220220

221221
```python
222222
import plotly.express as px
@@ -229,7 +229,7 @@ fig = px.choropleth(df, locations="iso_alpha",
229229
fig.show()
230230
```
231231

232-
To use the USA States geometry, set `locationmode='USA-states'` and provide `locations` as two-letter state abbreviations:
232+
To use the USA States geometry, set `locationmode='USA-states'` and provide `locations` as [two-letter state abbreviations](/python/outline-map-locations/#supported-us-state-codes):
233233

234234
```python
235235
import plotly.express as px

0 commit comments

Comments
 (0)