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