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

Method remove_callback

lib/matplotlib/artist.py:433–441  ·  view source on GitHub ↗

Remove a callback based on its observer id. See Also -------- add_callback

(self, oid)

Source from the content-addressed store, hash-verified

431 return self._callbacks.connect("pchanged", lambda: func(self))
432
433 def remove_callback(self, oid):
434 """
435 Remove a callback based on its observer id.
436
437 See Also
438 --------
439 add_callback
440 """
441 self._callbacks.disconnect(oid)
442
443 def pchanged(self):
444 """

Callers 2

test_callbacksFunction · 0.95
_stopMethod · 0.45

Calls 1

disconnectMethod · 0.45

Tested by 1

test_callbacksFunction · 0.76