clear_point_data

RectilinearGrid.clear_point_data()

Remove all point arrays.

Examples

Clear all point arrays from a mesh.

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