pyvista.Plotter.clear# Plotter.clear() → None[source]# Clear plot by removing all actors and properties. Examples >>> import pyvista as pv >>> pl = pv.Plotter() >>> actor = pl.add_mesh(pv.Sphere()) >>> pl.clear() >>> pl.renderer.actors {}