plotly.py
plotly.py copied to clipboard
French Guiana plotted as France in choropleth map
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()
I also came across this issue, despite the fact that my data labels French Guiana as GUF.