Skip to content

Only show locationmode warning if locationmode is 'country names' #7520

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

emilykl
Copy link
Contributor

@emilykl emilykl commented Aug 11, 2025

While working on #7517 I noticed that the locationmode: 'country names' warning is shown for all choropleth and scattergeo charts regardless of their locationmode value. This PR modifies the warning such that it is only shown if locationmode is set to 'country names'.

Copy link
Contributor

@camdecoster camdecoster left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like an appropriate change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants