Code
Hub
Trending
Following
Digest
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/matplotlib/matplotlib
/ add
Method
add
lib/matplotlib/cbook.py:2192–2194 ·
view source on GitHub ↗
(self, key)
Source
from the content-addressed store, hash-verified
2190
return
len(self._od)
2191
2192
def
add(self, key):
2193
self._od.pop(key, None)
2194
self._od[key] = None
2195
2196
def
discard(self, key):
2197
self._od.pop(key, None)
Callers
1
_connect_picklable
Method · 0.45
Calls
1
pop
Method · 0.45
Tested by
no test coverage detected