ColormapDatabase.__setitem__

ColormapDatabase.__setitem__(key, item)[source]

Store the colormap under its lowercase name. If the colormap is a matplotlib ListedColormap or LinearSegmentedColormap, it is converted to the ProPlot ListedColormap or LinearSegmentedColormap subclass.