pyvista.Plotter.center#
- property Plotter.center: tuple[float, float, float][source]#
Return the center of the active renderer.
- Returns:
list
[numpy.float64
,numpy.float64
,numpy.float64
]Center of the active renderer.
Examples
>>> import pyvista as pv >>> pl = pv.Plotter() >>> _ = pl.add_mesh(pv.Cube()) >>> pl.center (0.0, 0.0, 0.0)