-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
bi-directional perceptually flat colormaps in matplotlib? #11508
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
Comments
Ah I found #6254 which implements a circular colormap. Has something similar been done for a diverging colormap? |
This would be a really great thing to add, and I don't think it already exists. |
are you gonna be at scipy @dstansby ? or @tacaswell ? maybe we can make it into a quick hack :-) |
@choldgraf It looks like cmocean may have a few of them, namely "balance", "delta", and "curl". |
@choldgraf I won't be at scipy, but I'm in Berkeley now for 3 weeks, happy to spend an afternoon hacking this together/doing other Matplotlib things if you'll be around at all. |
@dstansby cool! I'll be back from Scipy starting Friday. Whereabouts are you working? You could probably use the BIDS space if you need a place to hang. |
Possibly related: #6033 |
ooh nice find |
I'll close in favour of #6033 |
A few folks have asked me how they can plot a perceptually flat colormap (like viridis) for bi-directional data (AKA, data that you'd use
coolwarm
orRdBu
for). I searched around but didn't find anything like this in matplotlib. I know it's been discussed before, does anyone know if those discussions went anywhere?The text was updated successfully, but these errors were encountered: