              self.ax1.set_ylim(ymin, ymax)
              self.ax1.set_xlim(xmin, xmax)
              logger.trace("axes ranges: (y: (%s, %s), x:(0, %s)", ymin, ymax, xmax)
          else:
              self.axes_limits_set_default()
  
      @staticmethod
      def axes_data_get_min_max(data):
          """ Return the minimum and maximum values from list of lists """
          ymin, ymax = list(), list()
 
</s> remove             ymin, ymax = self.axes_data_get_min_max(data)
            self.ax1.set_ylim(ymin, ymax)
            self.ax1.set_xlim(xmin, xmax)
 </s> add             ymin, ymax = self._axes_data_get_min_max(data)
            self._ax1.set_ylim(ymin, ymax)
            self._ax1.set_xlim(xmin, xmax) </s> remove     def axes_data_get_min_max(data):
        """ Return the minimum and maximum values from list of lists """
        ymin, ymax = list(), list()
 </s> add     def _axes_data_get_min_max(data: List[float]) -> Tuple[float]:
        """ Obtain the minimum and maximum values for the y-axis from the given data points.

        Parameters
        ----------
        data: list
            The data points for the Y Axis

        Returns
        -------
        tuple
            The minimum and maximum values for the y axis
        """
        ymin, ymax = [], [] </s> remove     def axes_set_yscale(self, scale):
        """ Set the Y-Scale to log or linear """
 </s> add     def _axes_set_yscale(self, scale: str) -> None:
        """ Set the Y-Scale to log or linear

        Parameters
        ----------
        scale: str
            Should be one of ``"log"`` or ``"linear"``
        """ </s> remove             xmax = self.calcs.iterations
 </s> add             xmax = self._calcs.iterations </s> remove     def lines_sort(self, keys):
        """ Sort the data keys into consistent order
            and set line color map and line width """
 </s> add         Parameters
        ----------
        keys: list
            The list of data point keys

        Returns
        -------
        list
            A list of loss keys with their corresponding line formatting and color information
        """
            self._axes_limits_set_default()
              self.ax1.set_ylim(ymin, ymax)
              self.ax1.set_xlim(xmin, xmax)
              logger.trace("axes ranges: (y: (%s, %s), x:(0, %s)", ymin, ymax, xmax)
          else:
            self._axes_limits_set_default()
  
      @staticmethod
      def axes_data_get_min_max(data):
          """ Return the minimum and maximum values from list of lists """
          ymin, ymax = list(), list()
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