pyvista.Plotter.image#

property Plotter.image[source]#

Return an image array of current render window.

Returns:
pyvista.pyvista_ndarray

Image array of current render window.

Examples

>>> import pyvista as pv
>>> pl = pv.Plotter(off_screen=True)
>>> _ = pl.add_mesh(pv.Cube())
>>> pl.show()
../../../_images/pyvista-Plotter-image-1_00_00.png
>>> pl.image