view_xy#
- Renderer.view_xy(negative=False)[source]#
View the XY plane.
- Parameters
- negativebool,
optional
View from the opposite direction.
- negativebool,
Examples
View the XY 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_xy() >>> pl.show()