Typing#
Type aliases and type variable used by PyVista.
Numeric Array-Like Types#
pyvista.NumberType#
Type variable for numeric data types.
- NumberType = TypeVar(NumberType, bound=numpy.floating | numpy.integer | numpy.bool | float | int | bool)#
Type:
TypeVarInvariant
TypeVarbound totyping.Union[numpy.floating,numpy.integer,numpy.bool,float,int,bool].
pyvista.ArrayLike#
Any-dimensional array-like object with numerical values.
Includes sequences, nested sequences, and numpy arrays. Scalar values are not included.
- ArrayLike#
alias of
ndarray[tuple[Any, …],dtype[NumberType]] |Sequence[NumberType] |Sequence[ndarray[tuple[Any, …],dtype[NumberType]]] |Sequence[Sequence[NumberType]] |Sequence[Sequence[ndarray[tuple[Any, …],dtype[NumberType]]]] |Sequence[Sequence[Sequence[NumberType]]] |Sequence[Sequence[Sequence[ndarray[tuple[Any, …],dtype[NumberType]]]]] |Sequence[Sequence[Sequence[Sequence[NumberType]]]] |Sequence[Sequence[Sequence[Sequence[ndarray[tuple[Any, …],dtype[NumberType]]]]]]
pyvista.MatrixLike#
Two-dimensional array-like object with numerical values.
Includes singly nested sequences and numpy arrays.
pyvista.VectorLike#
One-dimensional array-like object with numerical values.
Includes sequences and numpy arrays.