code: def OnInit(self):
      frame = CanvasFrame(None, "wxPython mathtext demo app")
      self.SetTopWindow(frame)
      frame.Show(True)
      return True
  
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 1 for calling the MyApp obj's underlying member method code with example usage: obj.OnInit() and returns: True