General
Interactive
Interactive.screenshot()
Gallery
Plot a screenshot of the viewer’s canvas.
return_result (bool) – If True, return the image as an numpy.uint8.
bool
numpy.uint8
dpi (float | None) – Dots per inch.
float
None
save (Optional[str]) – Whether to save the plot.
Optional
str
canvas_only (bool) – Whether to show only the canvas or also the widgets.
kwargs (Any) – Keyword arguments for matplotlib.axes.Axes.imshow().
Any
matplotlib.axes.Axes.imshow()
ndarray[Any, dtype[Any]] | None
ndarray
dtype
: Nothing, if return_result = False, otherwise the image array.
return_result = False