                  raw_lines.append([key, title])
              else:
                  sorted_lines.append([key, title])
  
          groupsize = self.lines_groupsize(raw_lines, sorted_lines)
          sorted_lines = raw_lines + sorted_lines
          lines = self.lines_style(sorted_lines, groupsize)
          return lines
  
      @staticmethod
 
</s> remove         lines = self.lines_style(sorted_lines, groupsize)
 </s> add         lines = self._lines_style(sorted_lines, groupsize) </s> remove         raw_lines = list()
        sorted_lines = list()
 </s> add         raw_lines = []
        sorted_lines = [] </s> remove     def lines_groupsize(raw_lines, sorted_lines):
 </s> add     def _lines_groupsize(raw_lines: List[str], sorted_lines: List[str]) -> int: </s> remove         colours = self.lines_create_colors(groupsize, groups)
 </s> add         colours = self._lines_create_colors(groupsize, groups) </s> remove     def lines_style(self, lines, groupsize):
        """ Set the color map and line width for each group """
 </s> add     def _lines_style(self,
                     lines: List[str],
                     groupsize: int) -> List[List[Union[str, int, Tuple[float]]]]:
        """ Obtain the color map and line width for each group.

        Parameters
        ----------
        lines: list
            The list of sorted line keys to display on the graph
        groupsize: int
            The size of each group to display in the graph

        Returns
        -------
        list
            A list of loss keys with their corresponding line formatting and color information
        """
        groupsize = self._lines_groupsize(raw_lines, sorted_lines)
                  raw_lines.append([key, title])
              else:
                  sorted_lines.append([key, title])
  
        groupsize = self._lines_groupsize(raw_lines, sorted_lines)
          sorted_lines = raw_lines + sorted_lines
          lines = self.lines_style(sorted_lines, groupsize)
          return lines
  
      @staticmethod
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