code: def add(self, name="plot"):
      page = Plot(self.nb)
      self.nb.AddPage(page, name)
      return page.figure
  
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 2 for calling the PlotNotebook obj's underlying member method code with example usage: obj.add(name) and returns: page