Plotter.write_frame#
Examples#
Download Python source code | Download Jupyter notebook
>>> import pyvista as pv
>>> pl = pv.Plotter()
>>> pl.open_movie(filename)
>>> pl.add_mesh(pv.Sphere())
>>> pl.write_frame()
See Create a MP4 Movie for a full example using this method.