  
      def build(self):
          """ Build the session graph """
          logger.debug("Building session graph")
          self.toolbar_place(self)
          self.plotcanvas.draw()
          logger.debug("Built session graph")
  
      def refresh(self, data, ylabel, scale):
          """ Refresh graph data """
          logger.debug("Refreshing session graph: (ylabel: '%s', scale: '%s')", ylabel, scale)
 
</s> remove         self.calcs = data
        self.ylabel = ylabel
 </s> add         self._calcs = data
        self._ylabel = ylabel </s> remove     def refresh(self, data, ylabel, scale):
        """ Refresh graph data """
 </s> add     def refresh(self, data, ylabel: str, scale: str) -> None:
        """ Refresh the Session Graph's data.

        Parameters
        ----------
        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"``
        """ </s> remove         self.scale = scale
 </s> add         self._scale = scale </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: </s> remove     def build(self):
        """ Update the plot area with loss values """
 </s> add     def build(self) -> None:
        """ Build the Training graph. """
        self._toolbar_place(self)
        self._plotcanvas.draw()
  
      def build(self):
          """ Build the session graph """
          logger.debug("Building session graph")
        self._toolbar_place(self)
        self._plotcanvas.draw()
        self._toolbar_place(self)
        self._plotcanvas.draw()
          logger.debug("Built session graph")
  
      def refresh(self, data, ylabel, scale):
          """ Refresh graph data """
          logger.debug("Refreshing session graph: (ylabel: '%s', scale: '%s')", ylabel, scale)
keep keep keep keep replace 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