pyvista.Plotter.view_yz#

Plotter.view_yz(negative=False, render=True)[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.

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()
https://d33wubrfki0l68.cloudfront.net/a8797da1fdbb3da3336378a27c6e1ec12bc26be3/fd44d/_images/pyvista-plotter-view_yz-1_00_00.png