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()
https://d33wubrfki0l68.cloudfront.net/0f309e59979d09768e75bbeb7d3026683f4fc6b2/66478/_images/pyvista-plotter-image-1_00_00.png
>>> pl.image