Axes.origin#
- property Axes.origin: tuple[float, float, float][source]#
Return or set the origin of the axes in world coordinates.
Examples#
Download Python source code | Download Jupyter notebook
>>> import pyvista as pv
>>> axes = pv.Axes()
>>> axes.origin
(0.0, 0.0, 0.0)
Set the origin of the camera.
>>> axes.origin = (2.0, 1.0, 1.0)
>>> axes.origin
(2.0, 1.0, 1.0)
Used In#
Gallery Examples