pyvista.Table.get_data_range#
- Table.get_data_range( ) tuple[float, float] [source]#
Get the min and max of a named array.
- Parameters:
- arr
str
,numpy.ndarray
,optional
The name of the array to get the range. If
None
, the active scalar is used.- preference
str
,optional
When scalars is specified, this is the preferred array type to search for in the dataset. Must be either
'row'
or'field'
.
- arr
- Returns:
tuple
(min, max)
of the array.