remove_floorsΒΆ

Renderer.remove_floors(clear_kwargs=True, render=True)ΒΆ

Remove all floor actors.

Parameters
clear_kwargsbool, optional

Clear default floor arguments. Default True.

renderbool, optional

Render upon removing the floor. Default True.

Examples

Add a floor below a sphere, remove it, and then plot it.

>>> import pyvista
>>> pl = pyvista.Plotter()
>>> actor = pl.add_mesh(pyvista.Sphere())
>>> actor = pl.add_floor()
>>> pl.remove_floors()
>>> pl.show()
../../../_images/pyvista-Renderer-remove_floors-1_00_00.png