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

Method __init__

lib/matplotlib/cbook.py:266–273  ·  view source on GitHub ↗
(self, exception_handler=_exception_printer, *, signals=None)

Source from the content-addressed store, hash-verified

264 # _func_cid_map: {(signal, weakref-to-callback) -> cid}
265
266 def __init__(self, exception_handler=_exception_printer, *, signals=None):
267 self._signals = None if signals is None else list(signals) # Copy it.
268 self.exception_handler = exception_handler
269 self.callbacks = {}
270 self._cid_gen = itertools.count()
271 self._func_cid_map = _UnhashDict([])
272 # A hidden variable that marks cids that need to be pickled.
273 self._pickled_cids = set()
274
275 def __getstate__(self):
276 return {

Callers

nothing calls this directly

Calls 2

_UnhashDictClass · 0.85
countMethod · 0.80

Tested by

no test coverage detected