# Examples from pyvista.plotting.themes.Theme.interactor_style
# ============================================================

# Set the default interactor style to terrain.
import pyvista as pv
pv.global_theme.interactor_style = 'terrain_style'

# Register and use a custom interactor style.
def custom_style(interactor): ...
pv.register_interactor_style(
    'custom_style', custom_style
)
pv.global_theme.interactor_style = 'custom_style'

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

