docs: def make_cmap(self, background_color='#000000', random_state=None):
          """
          Define a matplotlib colormap consisting of (random) muted
          colors.
  
          This is very useful for plotting the segmentation image.
  
          Parameters
          ----------
          background_color : str or `None`, optional
              A hex string in the "#rrggbb" format defining the first
              color in the colormap.  This color will be used as the
              background color (label = 0) when plotting the segmentation
              image.  The default is black ('#000000').
  
          random_state : int or `~numpy.random.RandomState`, optional
              The pseudo-random number generator state used for random
              sampling.  Separate function calls with the same
              ``random_state`` will generate the same colormap.
  
          Returns
          -------
          cmap : `matplotlib.colors.ListedColormap`
              The matplotlib colormap.
          """
  
          from matplotlib import colors
  
          cmap = make_random_cmap(self.max_label + 1, random_state=random_state)
  
          if background_color is not None:
              cmap.colors[0] = colors.hex2color(background_color)
  
          return cmap