Skip to content
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

Update show() method to enable plotting of discrete data (e.g. labels) using legend rather than colormap #341

Open
rwood-97 opened this issue Jan 16, 2024 · 0 comments · May be fixed by #511
Labels
enhancement New feature or request load Issues related to the "Load" functionality new feature

Comments

@rwood-97
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
At the moment, the show() method is used to plot values on top of a map using a colorbar e.g. confidence scores:
image

This method works well if your data is continuous. However, is confusing if you are plotting discrete data e.g. labels
image

Describe the solution you'd like
We should add an option to plot discrete values with a legend instead of colormap.
Ideally this could just be an arg like discrete=True to force the plots to use a legend vs colormap.

Describe alternatives you've considered
Make it clear in the docs that this is whats going on.

@rwood-97 rwood-97 added enhancement New feature or request new feature load Issues related to the "Load" functionality labels Jan 16, 2024
@rwood-97 rwood-97 linked a pull request Oct 10, 2024 that will close this issue
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request load Issues related to the "Load" functionality new feature
Projects
Status: In progress (now)
Development

Successfully merging a pull request may close this issue.

1 participant