pyvista.MultiBlock.get_data_range#
- MultiBlock.get_data_range(
- name: str | None,
- allow_missing: bool = False,
- preference: Literal[FieldAssociation.POINT, 'point', FieldAssociation.CELL, 'cell', FieldAssociation.NONE, 'field'] = 'cell',
Get the min/max of an array given its name across all blocks.
- Parameters:
- name
str,optional The name of the array to get the range. If
None, the active scalars are used.- allow_missingbool, default:
False Allow a block to be missing the named array.
- preference
str, default: “cell” When scalars is specified, this is the preferred array type to search for in the dataset. Must be either
'point','cell', or'field'.Added in version 0.45.
- name
- Returns:
tuple(min, max)of the named array.