DataSetMapper.bounds_size#
- property DataSetMapper.bounds_size: tuple[float, float, float][source]#
Return the size of each axis of the object’s bounding box.
Added in version 0.46.
Examples#
Download Python source code | Download Jupyter notebook
Get the size of a cube. The cube has edge lengths of (1.0, 1.0, 1.0)
by default.
>>> import pyvista as pv
>>> mesh = pv.Cube()
>>> mesh.bounds_size
(1.0, 1.0, 1.0)