pyvista.Renderer.remove_floors#

Renderer.remove_floors(clear_kwargs=True, render=True)[source]#

Remove all floor actors.

Parameters:
clear_kwargsbool, default: True

Clear default floor arguments.

renderbool, default: True

Render upon removing the floor.

Examples

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()
../../../_images/pyvista-Renderer-remove_floors-1_00_00.png