Skip to content

Commit

Permalink
code style
Browse files Browse the repository at this point in the history
  • Loading branch information
cshanahan1 committed Dec 9, 2024
1 parent a0c1b0f commit 811b940
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions jdaviz/configs/default/plugins/subset_tools/subset_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,6 @@ def user_api(self):
'get_center', 'set_center', 'import_region', 'get_subsets_as_regions']
return PluginUserApi(self, expose)


def get_subsets_as_regions(self, region_type=None, list_of_subset_labels=None,
use_display_units=False):
"""
Expand All @@ -180,11 +179,10 @@ def get_subsets_as_regions(self, region_type=None, list_of_subset_labels=None,
Parameters
----------
region_type : str or None, optional
Specifies the type of subsets to retrieve. Options are:
- ``spatial``: Retrieve only spatial subsets.
- ``spectral``: Retrieve only spectral subsets.
- ``None`` (default): Retrieve both spatial and spectral subsets,
determined by the current configuration.
Specifies the type of subsets to retrieve. Options are ``spatial``
to retrieve only spatial subsets, ``spectral``: Retrieve only
spectral subsets or ``None`` (default) to retrieve both spatial
and spectral subsets, when relevent to the current configuration.
list_of_subset_labels : list of str or None, optional
If specified, only subsets matching these labels will be included.
Expand Down

0 comments on commit 811b940

Please sign in to comment.