File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
src/astro_image_display_api Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -441,9 +441,10 @@ def set_viewport(
441441 The center of the viewport. If not given, the current center is used.
442442 fov : `astropy.units.Quantity` or float, optional
443443 The field of view (FOV) of the viewport. If not given, the current FOV
444- is used. If a float is given, it is interpreted a size in pixels. For images
445- that are not square, the FOV is interpreted as the size of the longer side
446- of the image.
444+ is used. If a float is given, it is interpreted as a size in pixels. For viewers
445+ that are not square, the FOV is interpreted as the size of the shorter side
446+ of the viewer such that the FOV is guaranteed to be entirely visible
447+ regardless of the aspect ratio of the viewer.
447448 image_label : str, optional
448449 The label of the image to set the viewport for. If not given and there is
449450 only one image loaded, the viewport for that image is set. If there are
You can’t perform that action at this time.
0 commit comments