pyvista.Plotter.bounds#
- property Plotter.bounds: Tuple[int | float, int | float, int | float, int | float, int | float, int | float][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 (-0.5, 0.5, -0.5, 0.5, -0.5, 0.5)