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

Faster center transition for dark-centered diverging maps #50

Open
drscotthawley opened this issue Dec 5, 2022 · 0 comments
Open

Faster center transition for dark-centered diverging maps #50

drscotthawley opened this issue Dec 5, 2022 · 0 comments
Labels
colormap request New colormap idea or request

Comments

@drscotthawley
Copy link

Describe the colors you would like
I want 'bwr' only with black in the middle, i.e.. I want "dark mode bwr": Blue on one side, red on the other, black in the middle, but for a fairly narrow range in the middle.

I notice that all the light-centered diverging maps appear as if there is a "rapid" transition around the central value, whereas for the darker maps the central dark colors cover a might wider proportion of the colormap.

My collaborator hates all the white in this image and asked for a "dark mode", so I'm working on that.
Screen Shot 2022-12-05 at 5 50 58 PM

'redshift' has too much of the middle of the color range as near-black:
Screen Shot 2022-12-05 at 5 53 18 PM
I want the black to cover a more narrow range in the middle.

'guppy' seems to provide the most rapid transition of the dark-centered diverging colormaps, but I don't want purple in the middle. Most of my plot ends up looking purple (see screenshot below), whereas I'd rather have it mostly dark.
Screen Shot 2022-12-05 at 5 49 46 PM

Describe the colormap type

diverging

Describe any extra properties

I'm not sure how one gets colorblind-friendliness in a diverging map, but if possible, that'd be great!

Is your colormap request related to a specific application? Please describe.

Sure, see tokens_spectrogram_image() in my aeiou library.
I want to easily see at a glance the distribution of positive, negative, and "small" (near zero) values in a 2D array.

Additional context

screenshots above

@drscotthawley drscotthawley added the colormap request New colormap idea or request label Dec 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
colormap request New colormap idea or request
Projects
None yet
Development

No branches or pull requests

1 participant