# Examples from pyvista.DataSetAttributes.active_vectors_name
# ===========================================================

import pyvista as pv
import numpy as np
mesh = pv.Sphere()
mesh.point_data.set_vectors(
    np.random.default_rng().random((mesh.n_points, 3)),
    'my-vectors',
)
mesh.point_data.active_vectors_name

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

