pyvista.Plotter.bounds#
- property Plotter.bounds: BoundsTuple[source]#
Return the bounds of the active renderer.
- Returns:
tuple
[numpy.float64
,numpy.float64
,numpy.float64
,numpy.float64
,numpy.float64
,numpy.float64
]Bounds of the active renderer.
Examples
>>> import pyvista as pv >>> pl = pv.Plotter() >>> _ = pl.add_mesh(pv.Cube()) >>> pl.bounds BoundsTuple(x_min=-0.5, x_max=0.5, y_min=-0.5, y_max=0.5, z_min=-0.5, z_max=0.5)