Skip to content

Commit 56bf76f

Browse files
committed
More docstring fixees
1 parent 12713d5 commit 56bf76f

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

src/astro_image_display_api/interface_definition.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ def set_stretch(self, stretch: BaseStretch, image_label: str | None = None) -> N
120120
`~astropy.visualization.BaseStretch`.
121121
122122
image_label : str, optional
123-
The label of the image to set the cuts for. If not given and there is
124-
only one image loaded, the cuts for that image are set.
123+
The label of the image to set the stretch for. If not given and there is
124+
only one image loaded, the stretch for that image are set.
125125
126126
Raises
127127
------
@@ -367,7 +367,7 @@ def remove_catalog(self, catalog_label: str | None = None) -> None:
367367
@abstractmethod
368368
def get_catalog(self, x_colname: str = 'x', y_colname: str = 'y',
369369
skycoord_colname: str = 'coord',
370-
catalog_label: str | list[str] | None = None) -> Table:
370+
catalog_label: str | None = None) -> Table:
371371
"""
372372
Get the marker positions.
373373
@@ -382,9 +382,8 @@ def get_catalog(self, x_colname: str = 'x', y_colname: str = 'y',
382382
skycoord_colname : str, optional
383383
The name of the column containing the sky coordinates. Default
384384
is ``'coord'``.
385-
catalog_label : str or list of str, optional
386-
The name of the marker set to use. If that value is ``"all"``,
387-
then all markers will be returned.
385+
catalog_label : str, optional
386+
The name of the catalog set to get.
388387
389388
Returns
390389
-------

0 commit comments

Comments
 (0)