# Examples from pyvista.Plotter.write_frame
# =========================================

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.

# ----------------------------------------------------------------------
# Generated by sphinx-examples-as-code https://github.com/pyvista/sphinx-examples-as-code

