pyvista.Renderer.view_yz

pyvista.Renderer.view_yz#

Renderer.view_yz(negative=False, render=True, bounds=None) None[source]#

View the YZ 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 (x_min, x_max, y_min, y_max, z_min, z_max).

Examples

View the YZ 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_yz()
>>> pl.show()
../../../_images/pyvista-Renderer-view_yz-1_00_00.png