-
Notifications
You must be signed in to change notification settings - Fork 31
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
Support general color maps #263
Comments
I hadn't previously used colormaps in python much, and so I figured the easiest approach was to nudge people towards a library with lots of colormaps. To be clear, from matplotlib.cm import get_cmap
data = np.array(...)
colormap = get_cmap("cet_fire")
map_.get_fill_color = colormap(data, bytes=True) ( That said, it's probably good to update |
It seems your
apply_continuous_cmap
is very tied to palettable.I experienced this a friction as I'm used to using Colorcet. So I ended up creating some functionality to convert from colorcet to palettable in #262.
I'm not very well versed in colormaps but I would think that tying it to one provider is friction.
The text was updated successfully, but these errors were encountered: