          ymax = ceil(max(ymax)) / 1000
          logger.trace("ymin: %s, ymax: %s", ymin, ymax)
          return ymin, ymax
  
      def axes_set_yscale(self, scale):
          """ Set the Y-Scale to log or linear """
          logger.debug("yscale: '%s'", scale)
          self.ax1.set_yscale(scale)
  
      def lines_sort(self, keys):
          """ Sort the data keys into consistent order
 
</s> remove         self.ax1.set_yscale(scale)
 </s> add         self._ax1.set_yscale(scale)

    def _lines_sort(self, keys: List[str]) -> List[List[Union[str, int, Tuple[float]]]]:
        """ Sort the data keys into consistent order and set line color map and line width. </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
        """ </s> remove         raw_lines = list()
        sorted_lines = list()
 </s> add         raw_lines = []
        sorted_lines = [] </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             self.axes_limits_set_default()
 </s> add             self._axes_limits_set_default()
    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"``
        """
          ymax = ceil(max(ymax)) / 1000
          logger.trace("ymin: %s, ymax: %s", ymin, ymax)
          return ymin, ymax
  
    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"``
        """
    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"``
        """
          logger.debug("yscale: '%s'", scale)
          self.ax1.set_yscale(scale)
  
      def lines_sort(self, keys):
          """ Sort the data keys into consistent order
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