Description
My question is pretty simple: How can I add a colormap to Matplotlib?
Inspired by the viridis and cividis colormaps, I have made a new perceptually uniform sequential colormap called 'rainforest' (see below for the colormap and its viscm
output).
I originally made this colormap specifically for my PRISM package as an alternative to viridis and cividis, as I felt that these colormaps did not have enough variation in color for what I wanted to use the colormap for.
However, I have been asked by a few people now if I am planning on adding the colormap to Matplotlib or release it as a standalone package, as they would like to use it.
For that reason, I am asking here how I can add it.
Can I do this simply by forking Matplotlib, adding the RGB data to the lib/matplotlib/_cm_listed.py
file and opening a PR about it?
Thanks in advance.
EDIT: This colormap is now included in my CMasher package.