code: def OnChangePlot(self, event):
      self.change_plot(event.GetId() - 1000)
  
file_path: matplotlib/galleries/examples/user_interfaces/mathtext_wx_sgskip.py
imports: from io import BytesIO
  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 4 for calling the CanvasFrame obj's underlying member method code with example usage: obj.OnChangePlot(event) without return types