# Examples from pyvista.ImageData.active_normals
# ==============================================

# Compute normals on an example sphere mesh and return the
# active normals for the dataset.  Show that this is the same size
# as the number of points.
import pyvista as pv
mesh = pv.Sphere()
mesh = mesh.compute_normals()
normals = mesh.active_normals
normals.shape
mesh.n_points

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

