pyvista.Plotter.write_frame#
- Plotter.write_frame() None[source]#
Write a single frame to the movie file.
Examples
>>> 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.