Skip to content

Commit

Permalink
fix docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
sashankaryal committed Nov 15, 2024
1 parent 11fb58d commit 5d2dedc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions fiftyone/core/labels.py
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ def has_mask(self):
return self.mask is not None or self.mask_path is not None

def get_mask(self):
"""Returns the segmentation mask for this instance.
"""Returns the detection mask for this instance.
Returns:
a numpy array, or ``None``
Expand All @@ -442,7 +442,6 @@ def import_mask(self, update=False):
attribute.
Args:
outpath: the path to write the map
update (False): whether to clear this instance's :attr:`mask_path`
attribute after importing
"""
Expand Down Expand Up @@ -1102,7 +1101,6 @@ def import_mask(self, update=False):
attribute.
Args:
outpath: the path to write the map
update (False): whether to clear this instance's :attr:`mask_path`
attribute after importing
"""
Expand Down

0 comments on commit 5d2dedc

Please sign in to comment.