# Examples from pyvista.Actor.visibility
# ======================================

# Create an actor using the `pyvista.Plotter` and then change the
# visibility of the actor.
import pyvista as pv
from pyvista import examples
mesh = examples.load_airplane()
pl = pv.Plotter()
actor = pl.add_mesh(mesh)
pl.bounds

actor.visibility = False
pl.bounds

# ----------------------------------------------------------------------
# Generated by sphinx-examples-as-code https://github.com/pyvista/sphinx-examples-as-code

