keys#
- DataSetAttributes.keys() List[str] [source]#
Return the names of the arrays as a list.
- Returns
list
List of keys.
Examples
>>> import pyvista >>> mesh = pyvista.Sphere() >>> mesh.clear_data() >>> mesh.point_data['data0'] = [0]*mesh.n_points >>> mesh.point_data['data1'] = range(mesh.n_points) >>> mesh.point_data.keys() ['data0', 'data1']