Skip to content

Commit e1016f4

Browse files
committed
Clarify exceptions raised
1 parent 3c15118 commit e1016f4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/astro_image_display_api/interface_definition.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,8 @@ def set_viewport(
248248
------
249249
TypeError
250250
If the `center` is not a `SkyCoord` object or a tuple of floats, or if
251-
the `fov` is not a angular `Quantity` or a float
251+
the `fov` is not a angular `Quantity` or a float, or if there is no WCS
252+
and the center or field of view require a WCS to be applied.
252253
253254
ValueError
254255
If `image_label` is not provided when there are multiple images loaded.

0 commit comments

Comments
 (0)