  
      def toolbar_place(self, parent):
          """ Add Graph Navigation toolbar """
          logger.debug("Placing toolbar")
          self.toolbar = NavigationToolbar(self.plotcanvas, parent)
          self.toolbar.pack(side=tk.BOTTOM)
          self.toolbar.update()
  
      def clear(self):
          """ Clear the plots from RAM """
          logger.debug("Clearing graph from RAM: %s", self)
          self.fig.clf()
 
</s> remove     def clear(self):
        """ Clear the plots from RAM """
 </s> add     def clear(self) -> None:
        """ Clear the graph plots from RAM """ </s> remove     def toolbar_place(self, parent):
        """ Add Graph Navigation toolbar """
 </s> add     def _toolbar_place(self, parent: ttk.Frame) -> None:
        """ Add Graph Navigation toolbar.

        Parameters
        ----------
        parent: ttk.Frame
            The parent graph frame to place the toolbar onto
        """ </s> remove         self.ax1.legend(loc="upper right", ncol=2)
 </s> add         self._ax1.legend(loc="upper right", ncol=2) </s> remove         self.fig.clf()
        del self.fig
 </s> add         self._fig.clf()
        del self._fig </s> remove     def legend_place(self):
        """ Place and format legend """
 </s> add     def _legend_place(self) -> None:
        """ Place and format the graph legend """
        self._toolbar = NavigationToolbar(self._plotcanvas, parent)
        self._toolbar.pack(side=tk.BOTTOM)
        self._toolbar.update()
  
      def toolbar_place(self, parent):
          """ Add Graph Navigation toolbar """
          logger.debug("Placing toolbar")
        self._toolbar = NavigationToolbar(self._plotcanvas, parent)
        self._toolbar.pack(side=tk.BOTTOM)
        self._toolbar.update()
        self._toolbar = NavigationToolbar(self._plotcanvas, parent)
        self._toolbar.pack(side=tk.BOTTOM)
        self._toolbar.update()
        self._toolbar = NavigationToolbar(self._plotcanvas, parent)
        self._toolbar.pack(side=tk.BOTTOM)
        self._toolbar.update()
  
      def clear(self):
          """ Clear the plots from RAM """
          logger.debug("Clearing graph from RAM: %s", self)
          self.fig.clf()
keep keep keep keep replace 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