ColorDict

class ColorDict[source]

Bases: dict

This 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 color keyword arg. See __getitem__ for details.

Methods Summary

__getitem__(key)

Allows user to select colors from arbitrary named colormaps and color cycles.