Typing#
Type aliases and type variable used by PyVista.
Numeric Array-Like Types#
- NumberType = TypeVar(NumberType, bool, int, float, bool_, int64, float64, uint8)#
Type:
TypeVar
Invariant
TypeVar
constrained tobool
,int
,float
,numpy.bool_
,numpy.int64
,numpy.float64
andnumpy.uint8
.Type variable for numeric data types.
- ArrayLike#
Any-dimensional array-like object with numerical values.
Includes sequences, nested sequences, and numpy arrays. Scalar values are not included.
alias of
Union
[ndarray
[Any
,dtype
[NumberType
]],Sequence
[NumberType
],Sequence
[Sequence
[NumberType
]],Sequence
[Sequence
[Sequence
[NumberType
]]],Sequence
[Sequence
[Sequence
[Sequence
[NumberType
]]]],Sequence
[ndarray
[Any
,dtype
[NumberType
]]],Sequence
[Sequence
[ndarray
[Any
,dtype
[NumberType
]]]],Sequence
[Sequence
[Sequence
[ndarray
[Any
,dtype
[NumberType
]]]]],Sequence
[Sequence
[Sequence
[Sequence
[ndarray
[Any
,dtype
[NumberType
]]]]]]]