pyvista.DataSetAttributes.active_vectors_name#

property DataSetAttributes.active_vectors_name: str | None[source]#

Return name of the active vectors.

Returns:
Optional[str]

Name of the active vectors.

Examples

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