Plotter.set_position#
Examples#
Download Python source code | Download Jupyter notebook
Move the camera far away to [7, 7, 7].
>>> import pyvista as pv
>>> mesh = pv.Cube()
>>> pl = pv.Plotter()
>>> _ = pl.add_mesh(mesh, show_edges=True)
>>> pl.set_position([7, 7, 7])
>>> pl.show()
Used In#
Docstring Examples
Plotter.reset_camera(1 use)Renderer.reset_camera(1 use)Renderer.set_position(1 use)
Gallery Examples
Create a GIF Movie of a Static Object With a Moving Colormap
Create a GIF Movie of a Static Object With a Moving Colormap
1 use