code: def demo():
      # Alternatively you could use:
      # app = wx.App()
      # InspectableApp is a great debug tool, see:
      # http://wiki.wxpython.org/Widget%20Inspection%20Tool
      app = wit.InspectableApp()
      frame = wx.Frame(None, -1, "Plotter")
      plotter = PlotNotebook(frame)
      axes1 = plotter.add("figure 1").add_subplot()
      axes1.plot([1, 2, 3], [2, 1, 4])
      axes2 = plotter.add("figure 2").add_subplot()
      axes2.plot([1, 2, 3, 4, 5], [2, 1, 4, 2, 3])
      frame.Show()
      app.MainLoop()
  
file_path: matplotlib/galleries/examples/user_interfaces/embedding_in_wx5_sgskip.py
imports: import wx
  import wx.lib.agw.aui
  import wx.lib.mixins.inspection
  from matplotlib.backends.backend_wxagg import FigureCanvasWxAgg
  from matplotlib.backends.backend_wxagg import NavigationToolbar2WxAgg
  from matplotlib.figure import Figure
label_desc: Use image node_id 1 for calling a global function with example usage: demo() without return types