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