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
{{ message }}
Repository navigation
[BUG]: Odd polygon in land layer, extending into Canada on US choropleth #5685
There is an odd band extending from the northwest US into Canada when making a US choropleth. You can see this in the official documentation. I think this stems from the GeoJSON file included in Plotly. The file is very out of date, by the way, with changes to Oglala Lakota County in South Dakota and the Kusilvak Census Area in Alaska not being represented.
I can hide this band in the Python version using visible=False when calling update_geos().
Thanks for the report! This does seem like a bug. We'll take a look as we have time. If you'd like to dig into it, we can prioritize a PR review. FYI, a change would likely need to be made in plotly.js to fix this but maybe you'll find otherwise.
Activity
camdecoster commentedon Jul 30, 2026
Thanks for the report! This does seem like a bug. We'll take a look as we have time. If you'd like to dig into it, we can prioritize a PR review. FYI, a change would likely need to be made in plotly.js to fix this but maybe you'll find otherwise.