Plotter.center#
- property Plotter.center: tuple[float, float, float][source]#
Return the center of the active renderer.
Examples#
Download Python source code | Download Jupyter notebook
>>> import pyvista as pv
>>> pl = pv.Plotter()
>>> _ = pl.add_mesh(pv.Cube())
>>> pl.center
(0.0, 0.0, 0.0)