From 3b1fad74ba5015e5e57289929ced4e5bed259df2 Mon Sep 17 00:00:00 2001 From: Wouter-Michiel Vierdag Date: Mon, 1 Jul 2024 11:36:54 +0200 Subject: [PATCH] Update napari/_qt/qt_main_window.py Co-authored-by: Grzegorz Bokota --- napari/_qt/qt_main_window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/napari/_qt/qt_main_window.py b/napari/_qt/qt_main_window.py index b268b39c2dc..f7ec9d19cae 100644 --- a/napari/_qt/qt_main_window.py +++ b/napari/_qt/qt_main_window.py @@ -1555,7 +1555,7 @@ def _screenshot( flash : bool Flag to indicate whether flash animation should be shown after the screenshot was captured. - size : Optional[int, int] + size : tuple of two ints, optional Size (resolution height x width) of the screenshot. By default, the currently displayed size. Only used if `canvas_only` is True. scale : Optional[float]