# Examples from pyvista.DataSet.active_scalars_name
# =================================================

# Create a mesh, add scalars to the mesh, and return the name of
# the active scalars.
import pyvista as pv
mesh = pv.Sphere()
mesh['Z Height'] = mesh.points[:, 2]
mesh.active_scalars_name

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

