# Examples from pyvista.Box
# =========================

# Create a box with subdivision `level=2`.
import pyvista as pv
mesh = pv.Box(level=2)
mesh.plot(show_edges=True)

# Set the level separately for each axis.
mesh = pv.Box(level=[1, 2, 3])
mesh.plot(show_edges=True)

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

