ColorCacheDict¶
-
class
ColorCacheDict[source]¶ Bases:
dictThis class overrides the builtin matplotlib color cache, allowing users to draw colors from named colormaps and color cycles for any plotting command that accepts a
colorkeyword arg. See__getitem__for details.Methods Summary
__getitem__(key)Allows user to select colors from arbitrary named colormaps and color cycles.