code: def on_click(event):
      if event.button is MouseButton.LEFT:
          print("disconnecting callback")
          plt.disconnect(binding_id)
  
imports: import matplotlib.pyplot
  import numpy
  from matplotlib.backend_bases import MouseButton
label_desc: Use image node_id 2 for calling a global function with example usage: on_click(event) without return types