matplotlib.pyplot
matplotlib.pyplot.disconnect
matplotlib.pyplot.
disconnect
Disconnect the callback with id cid.
Examples
cid = canvas.mpl_connect('button_press_event', on_press) # ... later canvas.mpl_disconnect(cid)
Coords demo¶