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

Method mpl_disconnect

lib/matplotlib/backend_bases.py:2387–2399  ·  view source on GitHub ↗

Disconnect the callback with id *cid*. Examples -------- :: cid = canvas.mpl_connect('button_press_event', on_press) # ... later canvas.mpl_disconnect(cid)

(self, cid)

Source from the content-addressed store, hash-verified

2385 return self.callbacks.connect(s, func)
2386
2387 def mpl_disconnect(self, cid):
2388 """
2389 Disconnect the callback with id *cid*.
2390
2391 Examples
2392 --------
2393 ::
2394
2395 cid = canvas.mpl_connect('button_press_event', on_press)
2396 # ... later
2397 canvas.mpl_disconnect(cid)
2398 """
2399 self.callbacks.disconnect(cid)
2400
2401 # Internal subclasses can override _timer_cls instead of new_timer, though
2402 # this is not a public API for third-party subclasses.

Callers 15

set_figureMethod · 0.80
set_figureMethod · 0.80
disableMethod · 0.80
_cancel_actionMethod · 0.80
_releaseMethod · 0.80
_cancel_actionMethod · 0.80
_releaseMethod · 0.80
_startMethod · 0.80
_stopMethod · 0.80
_on_resizeMethod · 0.80
_end_redrawMethod · 0.80
_stepMethod · 0.80

Calls 1

disconnectMethod · 0.45

Tested by

no test coverage detected