code: def on_press(self, event):
      if event.inaxes != ax:
          return
  
      if not circ.contains(event)[0]:
          return
  
      self.pressevent = event
  
file_path: matplotlib/galleries/examples/event_handling/looking_glass.py
imports: import matplotlib.pyplot
  import numpy
  import matplotlib.patches
label_desc: Use image node_id 2 for calling the EventHandler obj's underlying member method code with example usage: obj.on_press(event) without return types