pyvista.Plotter.write_frame#
- Plotter.write_frame()[source]#
Write a single frame to the movie file.
Examples
>>> import pyvista as pv >>> plotter = pv.Plotter() >>> plotter.open_movie(filename) >>> plotter.add_mesh(pv.Sphere()) >>> plotter.write_frame()
See Create a MP4 Movie for a full example using this method.