MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / __init__

Method __init__

lib/matplotlib/colors.py:63–65  ·  view source on GitHub ↗
(self, mapping)

Source from the content-addressed store, hash-verified

61
62class _ColorMapping(dict):
63 def __init__(self, mapping):
64 super().__init__(mapping)
65 self.cache = {}
66
67 def __setitem__(self, key, value):
68 super().__setitem__(key, value)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected