write_frame

Plotter.write_frame()

Write a single frame to the movie file.

Examples

>>> import pyvista
>>> plotter = pyvista.Plotter()
>>> plotter.open_movie(filename)  
>>> plotter.add_mesh(pyvista.Sphere())  
>>> plotter.write_frame()  

See Create a MP4 Movie for a full example using this method.