Plotter.image#
- property Plotter.image: pyvista_ndarray[source]#
Return an image array of current render window.
- Returns:
pyvista.pyvista_ndarrayImage array of current render window.
Examples#
Download Python source code | Download Jupyter notebook
>>> import pyvista as pv
>>> pl = pv.Plotter(off_screen=True)
>>> _ = pl.add_mesh(pv.Cube())
>>> pl.show()
>>> pl.image