# Examples from pyvista.Plotter.enable_joystick_style
# ===================================================

# Create a simple scene with a plotter that has the Joystick
# Camera interactive style:
import pyvista as pv
pl = pv.Plotter()
_ = pl.add_mesh(pv.Cube(center=(1, 0, 0)))
_ = pl.add_mesh(pv.Cube(center=(0, 1, 0)))
pl.show_axes()
pl.enable_joystick_style()
pl.show()

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

