code: def update(self, series_list):
          
  
          if not series_list:
              self.series_notebook.AddPage(wx.Panel(self, -1), _("+"))
              return
  
          self.updating = True
  
          # Delete all tabs in the notebook
          self.series_notebook.DeleteAllPages()
  
          # Add as many tabs as there are series in code
  
          for page, attrdict in enumerate(series_list):
              series_panel = SeriesPanel(self.grid, attrdict)
              name = "Series"
  
              self.series_notebook.InsertPage(page, series_panel, name)
  
          self.series_notebook.AddPage(wx.Panel(self, -1), _("+"))
  
          self.updating = False
docs: Updates widget content from series_list
  
          Parameters
          ----------
          series_list: List of dict
          \tList of dicts with data from all series