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

Discrete colorscales for heatmaps #1785

Closed
alexcjohnson opened this issue Jun 14, 2017 · 2 comments
Closed

Discrete colorscales for heatmaps #1785

alexcjohnson opened this issue Jun 14, 2017 · 2 comments
Labels
feature something new

Comments

@alexcjohnson
Copy link
Collaborator

I was reading https://www.vox.com/policy-and-politics/2017/6/13/15792276/trump-obamacare-map and got annoyed by the colorbar:

screen shot 2017-06-14 at 12 32 50 am

Is "2" grey or light blue? Totally ambiguous. They need to move the labels to the middle of the corresponding color swatch. Ironically the Trump administration map, which the article so painstakingly picked apart, made it much clearer what each color means.

But I realized that, while we make discrete colorbars for contour maps (though in that case you really do want to place the label the boundary, and that's what we do), we actually don't have this ability with heatmaps and choropleths, we can only do continuous gradations for these types. We should support that, and perhaps even default to it when the data values are discrete like this.

@alexcjohnson alexcjohnson added the feature something new label Jun 14, 2017
@etpinard
Copy link
Contributor

Referencing another down-the-road colorscale improvement #1747

@gvwilson
Copy link
Contributor

Hi - this issue has been sitting for a while, so as part of our effort to tidy up our public repositories I'm going to close it. If it's still a concern, we'd be grateful if you could open a new issue (with a short reproducible example if appropriate) so that we can add it to our stack. Cheers - @gvwilson

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

No branches or pull requests

3 participants