# Examples from pyvista.Plotter.enable_custom_trackball_style
# ===========================================================

# Create a simple scene with a plotter that has the left button
# dolly.
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_custom_trackball_style(left='dolly')
pl.show()

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

