clear

Plotter.clear()

Clear plot by removing all actors and properties.

Examples

>>> import pyvista
>>> plotter = pyvista.Plotter()
>>> actor = plotter.add_mesh(pyvista.Sphere())
>>> plotter.clear()
>>> plotter.renderer.actors
{}
../../../_images/pyvista-Plotter-clear-1_00_00.png