# Examples from pyvista.DataObject.clear_field_data
# =================================================

# Add field data to a PolyData dataset and then remove it.
import pyvista as pv
mesh = pv.Sphere()
mesh.field_data['my-field-data'] = range(10)
len(mesh.field_data)
mesh.clear_field_data()
len(mesh.field_data)

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

