CmapDict.__setitem__

CmapDict.__setitem__(key, item, sort=True)[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.