- Plotter.save_graphic(filename, title='PyVista Export', raster=True, painter=True)¶
Save a screenshot of the rendering window as a graphic file.
This can be helpful for publication documents.
The supported formats are:
Path to fsave the graphic file to.
Title to use within the file properties.
Attempt to write 3D properties as a raster image.
Configure the exporter to expect a painter-ordered 2D rendering, that is, a rendering at a fixed depth where primitives are drawn from the bottom up.