DataSet.clear_point_data#
Examples#
Download Python source code | Download Jupyter notebook
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()
[]