docs: def remove_label(self, label, relabel=False):
          """
          Remove the label number.
  
          The removed label is assigned a value of zero (i.e.,
          background).
  
          Parameters
          ----------
          label : int
              The label number to remove.
  
          relabel : bool, optional
              If `True`, then the segmentation image will be relabeled
              such that the labels are in consecutive order starting from
              1.
  
          Examples
          --------
          >>> from photutils import SegmentationImage
          >>> segm = SegmentationImage([[1, 1, 0, 0, 4, 4],
          ...                           [0, 0, 0, 0, 0, 4],
          ...                           [0, 0, 3, 3, 0, 0],
          ...                           [7, 0, 0, 0, 0, 5],
          ...                           [7, 7, 0, 5, 5, 5],
          ...                           [7, 7, 0, 0, 5, 5]])
          >>> segm.remove_label(label=5)
          >>> segm.data
          array([[1, 1, 0, 0, 4, 4],
                 [0, 0, 0, 0, 0, 4],
                 [0, 0, 3, 3, 0, 0],
                 [7, 0, 0, 0, 0, 0],
                 [7, 7, 0, 0, 0, 0],
                 [7, 7, 0, 0, 0, 0]])
  
          >>> segm = SegmentationImage([[1, 1, 0, 0, 4, 4],
          ...                           [0, 0, 0, 0, 0, 4],
          ...                           [0, 0, 3, 3, 0, 0],
          ...                           [7, 0, 0, 0, 0, 5],
          ...                           [7, 7, 0, 5, 5, 5],
          ...                           [7, 7, 0, 0, 5, 5]])
          >>> segm.remove_label(label=5, relabel=True)
          >>> segm.data
          array([[1, 1, 0, 0, 3, 3],
                 [0, 0, 0, 0, 0, 3],
                 [0, 0, 2, 2, 0, 0],
                 [4, 0, 0, 0, 0, 0],
                 [4, 4, 0, 0, 0, 0],
                 [4, 4, 0, 0, 0, 0]])
          """
  
          self.remove_labels(label, relabel=relabel)