pyvista.Renderer.view_zy#
- Renderer.view_zy(negative=False, render=True, bounds=None)[source]#
View the ZY plane.
- Parameters:
- negativebool, default:
False
View from the opposite direction.
- renderbool, default:
True
If the render window is being shown, trigger a render after setting the camera position.
- boundsiterable(
int
),optional
Automatically set up the camera based on a specified bounding box
(xmin, xmax, ymin, ymax, zmin, zmax)
.
- negativebool, default:
Examples
View the ZY plane of a built-in mesh example.
>>> from pyvista import examples >>> import pyvista as pv >>> airplane = examples.load_airplane() >>> pl = pv.Plotter() >>> _ = pl.add_mesh(airplane) >>> pl.view_zy() >>> pl.show()