ColormapDatabase

class ColormapDatabase(kwargs)[source]

Bases: collections.abc.MutableMapping, dict

Dictionary subclass used to replace the matplotlib colormap registry. See __getitem__ and __setitem__ for details.

Parameters

kwargs (dict-like) – The source dictionary.