pyvista.AxesAssembly.scale

pyvista.AxesAssembly.scale#

property AxesAssembly.scale: tuple[float, float, float][source]#

Return or set entity scale.

Examples

Create an actor using the pyvista.Plotter and then change the scale of the actor.

>>> import pyvista as pv
>>> pl = pv.Plotter()
>>> actor = pl.add_mesh(pv.Sphere())
>>> actor.scale = (2.0, 2.0, 2.0)
>>> actor.scale
(2.0, 2.0, 2.0)