pyvista.DataSet.clear_point_data#

DataSet.clear_point_data() None[source]#

Remove all point arrays.

Examples

Clear all point arrays from a mesh.

>>> import pyvista as pv
>>> import numpy as np
>>> mesh = pv.Sphere()
>>> mesh.point_data.keys()
['Normals']
>>> mesh.clear_point_data()
>>> mesh.point_data.keys()
[]