              xmax = self.calcs.iterations
          xmax = max(1, xmax - 1)
  
          if data:
              ymin, ymax = self.axes_data_get_min_max(data)
              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
 
</s> remove             self.axes_limits_set_default()
 </s> add             self._axes_limits_set_default() </s> remove             xmax = self.calcs.iterations
 </s> add             xmax = self._calcs.iterations </s> remove         self.ax1.set_ylim(0.00, 100.0)
        self.ax1.set_xlim(0, 1)

    def axes_limits_set(self, data):
        """ Set the axes limits """
        xmin = self.calcs.start_iteration
        if self.calcs.start_iteration > 0:
            xmax = self.calcs.iterations + self.calcs.start_iteration
 </s> add         self._ax1.set_ylim(0.00, 100.0)
        self._ax1.set_xlim(0, 1)

    def _axes_limits_set(self, data: List[float]) -> None:
        """ Set the axes limits.

        Parameters
        ----------
        data: list
            The data points for the Y Axis
        """
        xmin = self._calcs.start_iteration
        if self._calcs.start_iteration > 0:
            xmax = self._calcs.iterations + self._calcs.start_iteration </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"``
        """
            ymin, ymax = self._axes_data_get_min_max(data)
            self._ax1.set_ylim(ymin, ymax)
            self._ax1.set_xlim(xmin, xmax)
              xmax = self.calcs.iterations
          xmax = max(1, xmax - 1)
  
          if data:
            ymin, ymax = self._axes_data_get_min_max(data)
            self._ax1.set_ylim(ymin, ymax)
            self._ax1.set_xlim(xmin, xmax)
            ymin, ymax = self._axes_data_get_min_max(data)
            self._ax1.set_ylim(ymin, ymax)
            self._ax1.set_xlim(xmin, xmax)
            ymin, ymax = self._axes_data_get_min_max(data)
            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
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