Skip to content

Commit f2a2e7c

Browse files
committed
Minor type fixes
1 parent 2da04b4 commit f2a2e7c

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
@@ -98,9 +98,9 @@ def save(self, filename: str | os.PathLike, overwrite: bool = False) -> None:
9898
def load_catalog(self, table: Table, x_colname: str = 'x', y_colname: str = 'y',
9999
skycoord_colname: str = 'coord', use_skycoord: bool = False,
100100
catalog_label: str | None = None,
101-
catalog_style: str | None = None) -> None:
101+
catalog_style: dict | None = None) -> None:
102102
"""
103-
Add markers to the image.
103+
Add markers to the viewer at positions given by a catalog.
104104
105105
Parameters
106106
----------
@@ -122,7 +122,7 @@ def load_catalog(self, table: Table, x_colname: str = 'x', y_colname: str = 'y',
122122
catalog_label : str, optional
123123
The name of the marker set to use. If not given, a unique
124124
name will be generated.
125-
catalog_style: str, optional
125+
catalog_style: dict, optional
126126
A dictionary that specifies the style of the markers used to
127127
rerpresent the catalog. See `ImageViewerInterface.set_catalog_style`
128128
for details.

0 commit comments

Comments
 (0)