code: def add_axes(self, interactive=None, color=None):
          
          if interactive is None:
              interactive = rcParams['interactive']
          if hasattr(self, 'axes_widget'):
              self.axes_widget.SetInteractive(interactive)
              self._update_axes_color(color)
              return
          self.axes_actor = vtk.vtkAxesActor()
          self.axes_widget = vtk.vtkOrientationMarkerWidget()
          self.axes_widget.SetOrientationMarker(self.axes_actor)
          if hasattr(self, 'iren'):
              self.axes_widget.SetInteractor(self.iren)
              self.axes_widget.SetEnabled(1)
              self.axes_widget.SetInteractive(interactive)
          # Set the color
          self._update_axes_color(color)
docs: Add an interactive axes widget