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 (Optional[float]) – Dots per inch.
Optional
float
save (Optional[str]) – Whether to save the plot.
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()
Optional[ndarray[Any, dtype[Any]]]
ndarray
dtype
: Nothing, if return_result = False, otherwise the image array.
return_result = False