Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/matplotlib/matplotlib
/ __setitem__
Method
__setitem__
lib/matplotlib/colors.py:67–69 ·
view source on GitHub ↗
(self, key, value)
Source
from the content-addressed store, hash-verified
65
self.cache = {}
66
67
def
__setitem__(self, key, value):
68
super().__setitem__(key, value)
69
self.cache.clear()
70
71
def
__delitem__(self, key):
72
super().__delitem__(key)
Callers
nothing calls this directly
Calls
1
clear
Method · 0.45
Tested by
no test coverage detected