Segmentation.remove_segment#

Segmentation.remove_segment(segment_name, inplace=False)[source]#

Remove a segment from a segmentation.

Parameters:
  • segment_name (str) – The name of the segment to remove

  • inplace (bool = False) – Whether to apply in place