ColorDatabase

class ColorDatabase(mapping=None)[source]

Bases: collections.abc.MutableMapping, dict

Dictionary subclass used to replace the builtin matplotlib color database. See __getitem__ for details.

Parameters

mapping (dict-like, optional) – The colors.

Attributes Summary

cache

Attributes Documentation

cache