pyvista.DataSetAttributes.values#
- DataSetAttributes.values() list[pyvista_ndarray] [source]#
Return the arrays as a list.
- Returns:
list
List of arrays.
Examples
>>> import pyvista as pv >>> mesh = pv.Cube() >>> mesh.clear_data() >>> mesh.cell_data['data0'] = [0] * mesh.n_cells >>> mesh.cell_data['data1'] = range(mesh.n_cells) >>> mesh.cell_data.values() [pyvista_ndarray([0, 0, 0, 0, 0, 0]), pyvista_ndarray([0, 1, 2, 3, 4, 5])]