plotly.py icon indicating copy to clipboard operation
plotly.py copied to clipboard

French Guiana plotted as France in choropleth map

Open RodolfoFigueroa opened this issue 5 years ago • 3 comments

When using ISO 3166 country codes as choropleth map locations, French Guiana is incorrectly plotted as part of France, despite its code being FR-GF.

Here is a working example:

import Pandas as pd
import plotly.express as px
df = pd.DataFrame()
df['code'] = ['FRA']
df['x'] = 1
fig = px.choropleth(df, locations="code", color="x")
fig.show()

RodolfoFigueroa avatar Nov 19 '20 05:11 RodolfoFigueroa

I also came across this issue, despite the fact that my data labels French Guiana as GUF.

hitesh-pathak avatar Sep 07 '22 12:09 hitesh-pathak