Skip to content

Commit 003054f

Browse files
committed
Clean up a couple minor things
1 parent 22771e4 commit 003054f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/astro_image_display_api/interface_definition.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ def get_catalog_style(self, catalog_label: str | None = None) -> dict:
339339
raise NotImplementedError
340340

341341
@abstractmethod
342-
def remove_catalog(self, catalog_label: str | list[str] | None = None) -> None:
342+
def remove_catalog(self, catalog_label: str | None = None) -> None:
343343
"""
344344
Remove markers from the image.
345345
@@ -356,6 +356,10 @@ def remove_catalog(self, catalog_label: str | list[str] | None = None) -> None:
356356
If the `catalog_label` is not provided when there are multiple
357357
catalogs loaded, or if the `catalog_label` does not correspond to a
358358
loaded catalog.
359+
360+
TypeError
361+
If the `catalog_label` is not a string or `None`, or if it is not
362+
one of the allowed values.
359363
"""
360364
raise NotImplementedError
361365

0 commit comments

Comments
 (0)