Skip to content

Commit f23ed64

Browse files
committed
Add a few attributes that were missing
These are present in the ginga implementation but were omitted here.
1 parent 367d61f commit f23ed64

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

astrowidgets/interface_definition.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
@runtime_checkable
1818
class ImageViewerInterface(Protocol):
19-
# This are attributes, not methods. The type annotations are there
19+
# These are attributes, not methods. The type annotations are there
2020
# to make sure Protocol knows they are attributes. Python does not
2121
# do any checking at all of these types.
2222
click_center: bool
@@ -25,6 +25,10 @@ class ImageViewerInterface(Protocol):
2525
image_width: int
2626
image_height: int
2727
zoom_level: float
28+
is_marking: bool
29+
stretch_options: tuple
30+
autocut_options: tuple
31+
cursor: str
2832
marker: Any
2933
cuts: Any
3034
stretch: str

0 commit comments

Comments
 (0)