values#

DataSetAttributes.values() List[pyvista.core.pyvista_ndarray.pyvista_ndarray][source]#

Return the arrays as a list.

Returns
list

List of arrays.

Examples

>>> import pyvista
>>> mesh = pyvista.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])]