code: def UpdateStatusBar(self, event):
      if event.inaxes:
          self.statusBar.SetStatusText(
              f"x={event.xdata}  y={event.ydata}"
          )
  
file_path: matplotlib/galleries/examples/user_interfaces/wxcursor_demo_sgskip.py
imports: import wx
  import numpy
  from matplotlib.backends.backend_wx import NavigationToolbar2Wx
  from matplotlib.backends.backend_wxagg import FigureCanvasWxAgg
  from matplotlib.figure import Figure
label_desc: Use image node_id 3 for calling the CanvasFrame obj's underlying member method code with example usage: obj.UpdateStatusBar(event) without return types