matplotlib.pyplot.disconnect# matplotlib.pyplot.disconnect(cid)[源代码][源代码]# 断开与ID为 cid 的回调的连接。 注释 备注 这是 FigureCanvasBase.mpl_disconnect 的 pyplot 包装器。 示例 cid = canvas.mpl_connect('button_press_event', on_press) # ... later canvas.mpl_disconnect(cid) 使用 matplotlib.pyplot.disconnect 的示例# 鼠标移动和点击事件 Mouse move and click events