Skip to content

Commit 4725f19

Browse files
committed
Minor type fixes
1 parent a24af6e commit 4725f19

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/astro_image_display_api/interface_definition.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ def save(self, filename: str | os.PathLike, overwrite: bool = False) -> None:
7676
def load_catalog(self, table: Table, x_colname: str = 'x', y_colname: str = 'y',
7777
skycoord_colname: str = 'coord', use_skycoord: bool = False,
7878
catalog_label: str | None = None,
79-
catalog_style: str | None = None) -> None:
79+
catalog_style: dict | None = None) -> None:
8080
"""
81-
Add markers to the image.
81+
Add markers to the viewer at positions given by a catalog.
8282
8383
Parameters
8484
----------
@@ -100,7 +100,7 @@ def load_catalog(self, table: Table, x_colname: str = 'x', y_colname: str = 'y',
100100
catalog_label : str, optional
101101
The name of the marker set to use. If not given, a unique
102102
name will be generated.
103-
catalog_style: str, optional
103+
catalog_style: dict, optional
104104
A dictionary that specifies the style of the markers used to
105105
rerpresent the catalog. See `ImageViewerInterface.set_catalog_style`
106106
for details.

0 commit comments

Comments
 (0)