pyvista.Axes

Contents

pyvista.Axes#

class Axes(show_actor=False, actor_scale=1, line_width=1.0, symmetric=False)[source]#

PyVista wrapper for the VTK Axes class.

Parameters:
show_actorbool, optional

Hide or show the actor of these axes. Default False.

actor_scalefloat, optional

Scale the size of the axes actor. Default 1.

line_widthfloat, optional

Width of the axes lines. Default 1.

symmetricbool, optional

If true, the axis continue to negative values.

Examples

Create an instance of axes at the pyvista module level.

>>> import pyvista as pv
>>> axes = pv.Axes()

Methods

Axes.hide_actor()

Hide an actor of axes.

Axes.hide_symmetric()

Hide symmetric of axes.

Axes.show_actor()

Show an actor of axes.

Axes.show_symmetric()

Show symmetric of axes.

Attributes

Axes.origin

Return or set th origin of the axes in world coordinates.