  
  class GraphDisplay(DisplayOptionalPage):  # pylint: disable=too-many-ancestors
      """ The Graph Tab of the Display section """
      def __init__(self, parent, tab_name, helptext, waittime, command=None):
          self.trace_var = None
          super().__init__(parent, tab_name, helptext, waittime, command)
  
      def add_options(self):
          """ Add the additional options """
          self.add_option_refresh()
 
</s> remove         self.add_option_refresh()
 </s> add         self._add_option_refresh() </s> remove         GraphBase.__init__(self, parent, data, ylabel)
 </s> add         super().__init__(parent, data, ylabel) </s> remove         GraphBase.__init__(self, parent, data, ylabel)
 </s> add         super().__init__(parent, data, ylabel) </s> remove         self.add_option_smoothing()
 </s> add         self._add_option_raw()
        self._add_option_smoothed()
        self._add_option_smoothing()
        self._add_option_iterations() </s> remove     """ Stats frame of analysis tab """
 </s> add     """ Stats frame of analysis tab.

    Holds the tree-view containing the summarized session statistics in the Analysis tab.

    Parameters
    ----------
    parent: :class:`tkinter.Frame`
        The frame within the Analysis Notebook that will hold the statistics
    selected_id: :class:`tkinter.IntVar`
        The tkinter variable that holds the currently selected session ID
    helptext: str
        The help text to display for the summary statistics page
    """
        self._trace_vars = dict()
  
  class GraphDisplay(DisplayOptionalPage):  # pylint: disable=too-many-ancestors
      """ The Graph Tab of the Display section """
      def __init__(self, parent, tab_name, helptext, waittime, command=None):
        self._trace_vars = dict()
          super().__init__(parent, tab_name, helptext, waittime, command)
  
      def add_options(self):
          """ Add the additional options """
          self.add_option_refresh()
keep keep keep keep replace keep keep keep keep keep
 GUI - Stats optimization (#1067)

* Faster stat loading + caching

* Compress data in cache

* Optimize some calculations

* Vectorize smoothing

* stats.Calculations optimized

* Load latest training data from live iterator

* Add options to training graph 
lib/gui/display_command.py