code: def createPlotPanel(self):
          '''Creates the figure and axes for the plotting panel.'''
          self.figure = Figure()
          self.axes = self.figure.add_subplot(111)
          self.canvas = FigureCanvas(self,-1,self.figure)
          self.canvas.SetSize(wx.Size(300,300))
          self.axes.axis('off')
          self.figure.subplots_adjust(left=0,right=1,top=1,bottom=0)
          self.sizer = wx.BoxSizer(wx.VERTICAL)
          self.sizer.Add(self.canvas,1,wx.EXPAND,wx.ALL)
          self.SetSizerAndFit(self.sizer)
          self.Fit(f createPlotPanel(self):
          '''Creates the figure and axes for the plotting panel.'''
          self.figure = Figure()
          self.axes = self.figure.add_subplot(111)
          self.canvas = FigureCanvas(self,-1,self.figure)
          self.canvas.SetSize(wx.Size(300,300))
          self.axes.axis('off')
          self.figure.subplots_adjust(left=0,right=1,top=1,bottom=0)
          self.sizer = wx.BoxSizer(wx.VERTICAL)
          self.sizer.Add(self.canvas,1,wx.EXPAND,wx.ALL)
          self.SetSizerAndFit(self.sizer)
          self.Fit()
docs: Creates the figure and axes for the plotting panel.