pyvista.Renderer.view_zx#

Renderer.view_zx(negative=False, render=True)[source]#

View the ZX 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 ZX 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_zx()
>>> pl.show()
https://d33wubrfki0l68.cloudfront.net/5b943988bd792ddce65459a341510b1086170d09/d71a4/_images/pyvista-renderer-view_zx-1_00_00.png