code: def onpick3(event):
      ind = event.ind
      print("onpick3 scatter:", ind, x[ind], y[ind])
  
file_path: matplotlib/galleries/examples/event_handling/pick_event_demo.py
imports: import matplotlib.pyplot
  import numpy
  from numpy.random import rand
  from matplotlib.image import AxesImage
  from matplotlib.lines import Line2D
  from matplotlib.patches import Rectangle
  from matplotlib.text import Text
label_desc: Use image node_id 4 for calling a global function with example usage: onpick3(event) without return types