matplotlib.pyplot.disconnect
- matplotlib.pyplot.disconnect(cid)
Disconnect the callback with id cid.
Notes
Disconnect the callback with id cid.
cid = canvas.mpl_connect('button_press_event', on_press)
# ... later
canvas.mpl_disconnect(cid)
matplotlib.pyplot.disconnect