              """ Event class that needs to be passed to plotcanvas.resize """
              pass  # pylint: disable=unnecessary-pass
          Event.width = self.winfo_width()
          Event.height = self.winfo_height()
          self.plotcanvas.resize(Event)  # pylint: disable=no-value-for-parameter
  
  
  class SessionGraph(GraphBase):  # pylint: disable=too-many-ancestors
      """ Session Graph for session pop-up """
      def __init__(self, parent, data, ylabel, scale):
 
</s> remove     def resize_fig(self):
        """ Resize the figure back to the canvas """
 </s> add     def _resize_fig(self) -> None:
        """ Resize the figure to the current canvas size. """ </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         self.scale = scale
 </s> add         self._scale = scale </s> remove         self.resize_fig()
 </s> add         self._resize_fig() </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:
        self._plotcanvas.resize(Event)  # pylint: disable=no-value-for-parameter
              """ Event class that needs to be passed to plotcanvas.resize """
              pass  # pylint: disable=unnecessary-pass
          Event.width = self.winfo_width()
          Event.height = self.winfo_height()
        self._plotcanvas.resize(Event)  # pylint: disable=no-value-for-parameter
  
  
  class SessionGraph(GraphBase):  # pylint: disable=too-many-ancestors
      """ Session Graph for session pop-up """
      def __init__(self, parent, data, ylabel, scale):
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