class_docstr: Axes actor wrapper for vtkAxesActor.
  
  Hybrid 2D/3D actor used to represent 3D axes in a scene. The user
  can define the geometry to use for the shaft or the tip, and the
  user can set the text for the three axes. To see full customization
  options, refer to `vtkAxesActor Details
  <https://vtk.org/doc/nightly/html/classvtkAxesActor.html#details>`_.
  
  Examples
  --------
  Customize the axis shaft color and shape.
  
  >>> import pyvista as pv
  
  >>> axes = pv.Axes()
  >>> axes.axes_actor.z_axis_shaft_properties.color = (0, 1, 1)
  >>> axes.axes_actor.shaft_type = axes.axes_actor.ShaftType.CYLINDER
  >>> pl = pv.Plotter()
  >>> _ = pl.add_actor(axes.axes_actor)
  >>> _ = pl.add_mesh(pv.Sphere())
  >>> pl.show()
  
  Or you can use this as a custom orientation widget with
  :func:`add_orientation_widget() <pyvista.Renderer.add_orientation_widget>`:
  
  >>> import pyvista as pv
  
  >>> axes = pv.Axes()
  >>> axes_actor = axes.axes_actor
  >>> axes.axes_actor.shaft_type = 0
  
  >>> axes_actor.x_axis_shaft_properties.color = (1, 1, 1)
  >>> axes_actor.y_axis_shaft_properties.color = (1, 1, 1)
  >>> axes_actor.z_axis_shaft_properties.color = (1, 1, 1)
  
  >>> axes_actor.x_axis_label = 'U'
  >>> axes_actor.y_axis_label = 'V'
  >>> axes_actor.z_axis_label = 'W'
  
  >>> pl = pv.Plotter()
  >>> _ = pl.add_mesh(pv.Cone())
  >>> _ = pl.add_orientation_widget(
  ...     axes_actor,
  ...     viewport=(0, 0, 0.5, 0.5),
  ... )
  >>> pl.show()
class_docstr_tok: ["Axes","actor","wrapper","for","vtkAxesActor",".","Hybrid","2D\/3D","actor","used","to","represent","3D","axes","in","a","scene",".","The","user","can","define","the","geometry","to","use","for","the","shaft","or","the","tip",",","and","the","user","can","set","the","text","for","the","three","axes",".","To","see","full","customization","options",",","refer","to","`","vtkAxesActor","Details","<","https",":","\/\/vtk.org\/doc\/nightly\/html\/classvtkAxesActor.html","#","details",">","`","_",".","Examples","--","--","--","--","Customize","the","axis","shaft","color","and","shape",".",">",">",">","import","pyvista","as","pv",">",">",">","axes","=","pv.Axes","(",")",">",">",">","axes.axes_actor.z_axis_shaft_properties.color","=","(","0",",","1",",","1",")",">",">",">","axes.axes_actor.shaft_type","=","axes.axes_actor.ShaftType.CYLINDER",">",">",">","pl","=","pv.Plotter","(",")",">",">",">","_","=","pl.add_actor","(","axes.axes_actor",")",">",">",">","_","=","pl.add_mesh","(","pv.Sphere","(",")",")",">",">",">","pl.show","(",")","Or","you","can","use","this","as","a","custom","orientation","widget","with",":","func",":","`","add_orientation_widget","(",")","<","pyvista.Renderer.add_orientation_widget",">","`",":",">",">",">","import","pyvista","as","pv",">",">",">","axes","=","pv.Axes","(",")",">",">",">","axes_actor","=","axes.axes_actor",">",">",">","axes.axes_actor.shaft_type","=","0",">",">",">","axes_actor.x_axis_shaft_properties.color","=","(","1",",","1",",","1",")",">",">",">","axes_actor.y_axis_shaft_properties.color","=","(","1",",","1",",","1",")",">",">",">","axes_actor.z_axis_shaft_properties.color","=","(","1",",","1",",","1",")",">",">",">","axes_actor.x_axis_label","=","'","U'",">",">",">","axes_actor.y_axis_label","=","'","V'",">",">",">","axes_actor.z_axis_label","=","'","W'",">",">",">","pl","=","pv.Plotter","(",")",">",">",">","_","=","pl.add_mesh","(","pv.Cone","(",")",")",">",">",">","_","=","pl.add_orientation_widget","(","...","axes_actor",",","...","viewport=","(","0",",","0",",","0.5",",","0.5",")",",","...",")",">",">",">","pl.show","(",")"]
code: def shaft_type(
      self, shaft_type: Union[ShaftType, int]
  ):  # numpydoc ignore=GL08
      shaft_type = AxesActor.ShaftType(shaft_type)
      if shaft_type == AxesActor.ShaftType.CYLINDER:
          self.SetShaftTypeToCylinder()
      elif shaft_type == AxesActor.ShaftType.LINE:
          self.SetShaftTypeToLine()
  
imports: from collections.abc import Iterable
  from enum import Enum
  from typing import Union
  import pyvista
  from .None import _vtk
  from .actor_properties import ActorProperties
label_desc: Use image node_id 25 for calling the AxesActor obj's underlying member method code with example usage: obj.shaft_type(shaft_type) without return types