ColormapDatabase.__setitem__¶
- ColormapDatabase.__setitem__(key, item)[source]¶
Store the colormap under its lowercase name. If the colormap is a matplotlib
ListedColormap
orLinearSegmentedColormap
, it is converted to the ProPlotListedColormap
orLinearSegmentedColormap
subclass.