From 811b9403929decee25b0e6e9c126a11ab0954f0d Mon Sep 17 00:00:00 2001 From: Clare Shanahan Date: Mon, 9 Dec 2024 10:22:58 -0500 Subject: [PATCH] code style --- .../default/plugins/subset_tools/subset_tools.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/jdaviz/configs/default/plugins/subset_tools/subset_tools.py b/jdaviz/configs/default/plugins/subset_tools/subset_tools.py index 91d0782dc2..9f7a8510c4 100644 --- a/jdaviz/configs/default/plugins/subset_tools/subset_tools.py +++ b/jdaviz/configs/default/plugins/subset_tools/subset_tools.py @@ -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): """ @@ -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.