# Examples from pyvista.Plotter.set_scale
# =======================================

# Set the scale in the z direction to be 2 times that of
# nominal.  Leave the other axes unscaled.
import pyvista as pv
pl = pv.Plotter()
pl.set_scale(zscale=2)
_ = pl.add_mesh(pv.Sphere())  # perfect sphere
pl.show()

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

