Skip to content

Commit de8d180

Browse files
committed
Refactor initialization to make subclassing easier
1 parent 5373307 commit de8d180

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/astro_image_display_api/image_viewer_logic.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,9 @@ class ImageViewerLogic:
8484
_center: tuple[numbers.Real, numbers.Real] = (0.0, 0.0)
8585

8686
def __post_init__(self):
87+
self._set_up_catalog_image_dicts()
88+
89+
def _set_up_catalog_image_dicts(self):
8790
# This is a dictionary of marker sets. The keys are the names of the
8891
# marker sets, and the values are the tables containing the markers.
8992
self._catalogs = defaultdict(CatalogInfo)

0 commit comments

Comments
 (0)