      """ Live graph to be displayed during training. """
  
      def __init__(self, parent, data, ylabel):
          super().__init__(parent, data, ylabel)
          self.thread = None  # Thread for LongRunningTask
          self._displayed_keys = []
          self.add_callback()
  
      def add_callback(self):
          """ Add the variable trace to update graph on recent button or save iteration """
 
</s> remove         self.add_callback()
 </s> add         self._add_callback() </s> remove     def add_callback(self):
        """ Add the variable trace to update graph on recent button or save iteration """
 </s> add     def _add_callback(self) -> None:
        """ Add the variable trace to update graph on refresh button press or save iteration. """ </s> remove     """ Live graph to be displayed during training. """

    def __init__(self, parent, data, ylabel):
 </s> add     """ Live graph to be displayed during training.

    Parameters
    ----------
    parent: :class:`tkinter.ttk.Frame`
        The parent frame that holds the graph
    data: :class:`lib.gui.analysis.stats.Calculations`
        The statistics class that holds the data to be displayed
    ylabel: str
        The data label for the y-axis
    """

    def __init__(self, parent: ttk.Frame, data, ylabel: str) -> None: </s> remove     def build(self):
        """ Update the plot area with loss values """
 </s> add     def build(self) -> None:
        """ Build the Training graph. """ </s> remove     """ Session Graph for session pop-up """
    def __init__(self, parent, data, ylabel, scale):
 </s> add     """ Session Graph for session pop-up.

    Parameters
    ----------
    parent: :class:`tkinter.ttk.Frame`
        The parent frame that holds the graph
    data: :class:`lib.gui.analysis.stats.Calculations`
        The statistics class that holds the data to be displayed
    ylabel: str
        The data label for the y-axis
    scale: str
        Should be one of ``"log"`` or ``"linear"``
    """
    def __init__(self, parent: ttk.Frame, data, ylabel: str, scale: str) -> None:
        self._thread = None  # Thread for LongRunningTask
      """ Live graph to be displayed during training. """
  
      def __init__(self, parent, data, ylabel):
          super().__init__(parent, data, ylabel)
        self._thread = None  # Thread for LongRunningTask
          self._displayed_keys = []
          self.add_callback()
  
      def add_callback(self):
          """ Add the variable trace to update graph on recent button or save iteration """
keep keep keep keep replace keep keep keep keep keep
 Update matplotlib requirement
  - bump min requirement to 3.5.1
  - Fix custom toolbar for v3.5.1
  - Documentation + linting 
lib/gui/display_graph.py