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

Method _connect_picklable

lib/matplotlib/cbook.py:312–320  ·  view source on GitHub ↗

Like `.connect`, but the callback is kept when pickling/unpickling. Currently internal-use only.

(self, signal, func)

Source from the content-addressed store, hash-verified

310 return cid
311
312 def _connect_picklable(self, signal, func):
313 """
314 Like `.connect`, but the callback is kept when pickling/unpickling.
315
316 Currently internal-use only.
317 """
318 cid = self.connect(signal, func)
319 self._pickled_cids.add(cid)
320 return cid
321
322 # Keep a reference to sys.is_finalizing, as sys may have been cleared out
323 # at that point.

Callers 6

__init__Method · 0.80
clearMethod · 0.80
__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80
connectMethod · 0.80

Calls 2

connectMethod · 0.95
addMethod · 0.45

Tested by 1

connectMethod · 0.64