Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
62
class
_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