view_yx#

Renderer.view_yx(negative=False)[source]#

View the YX plane.

Parameters
negativebool, optional

View from the opposite direction.

Examples

View the YX 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_yx()
>>> pl.show()
../../../_images/pyvista-Renderer-view_yx-1_00_00.png