Plotter.remove_floors#
- Plotter.remove_floors(*, clear_kwargs: bool = True, render: bool = True) None[source]#
Remove all floor actors.
Examples#
Download Python source code | Download Jupyter notebook
Add a floor below a sphere, remove it, and then plot it.
>>> import pyvista as pv
>>> pl = pv.Plotter()
>>> actor = pl.add_mesh(pv.Sphere())
>>> actor = pl.add_floor()
>>> pl.remove_floors()
>>> pl.show()
Used In#
API Examples
Renderer.remove_floors(1 use)