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

Method pop

lib/matplotlib/cbook.py:183–194  ·  view source on GitHub ↗
(self, key, *args)

Source from the content-addressed store, hash-verified

181 raise KeyError(key)
182
183 def pop(self, key, *args):
184 try:
185 if key in self._dict:
186 return self._dict.pop(key)
187 except TypeError:
188 for i, (k, v) in enumerate(self._pairs):
189 if k == key:
190 del self._pairs[i]
191 return v
192 if args:
193 return args[0]
194 raise KeyError(key)
195
196 def __iter__(self):
197 yield from self._dict

Callers 15

iter_fieldsFunction · 0.45
__init__Method · 0.45
set_aspectMethod · 0.45
tick_paramsMethod · 0.45
plotMethod · 0.45
plot_surfaceMethod · 0.45
plot_wireframeMethod · 0.45
plot_trisurfMethod · 0.45
tricontourMethod · 0.45
tricontourfMethod · 0.45
errorbarMethod · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected