code: def __init__(
      self, adir, v_intervalx, d_intervalx, axes, *args, **kwargs
  ):
      # adir identifies which axes this is
      self.adir = adir
      # data and viewing intervals for this direction
      self.d_interval = d_intervalx
      self.v_interval = v_intervalx
  
      # This is a temporary member variable.
      # Do not depend on this existing in future releases!
      self._axinfo = self._AXINFO[adir].copy()
      if rcParams["_internal.classic_mode"]:
          self._axinfo.update(
              {
                  "label": {"va": "center", "ha": "center"},
                  "tick": {
                      "inward_factor": 0.2,
                      "outward_factor": 0.1,
                      "linewidth": rcParams["lines.linewidth"],
                      "color": "k",
                  },
                  "axisline": {
                      "linewidth": 0.75,
                      "color": (0, 0, 0, 1),
                  },
                  "grid": {
                      "color": (0.9, 0.9, 0.9, 1),
                      "linewidth": 1.0,
                      "linestyle": "-",
                  },
              }
          )
      else:
          self._axinfo.update(
              {
                  "label": {"va": "center", "ha": "center"},
                  "tick": {
                      "inward_factor": 0.2,
                      "outward_factor": 0.1,
                      "linewidth": rcParams.get(
                          adir + "tick.major.width",
                          rcParams["xtick.major.width"],
                      ),
                      "color": rcParams.get(
                          adir + "tick.color", rcParams["xtick.color"]
                      ),
                  },
                  "axisline": {
                      "linewidth": rcParams["axes.linewidth"],
                      "color": rcParams["axes.edgecolor"],
                  },
                  "grid": {
                      "color": rcParams["grid.color"],
                      "linewidth": rcParams["grid.linewidth"],
                      "linestyle": rcParams["grid.linestyle"],
                  },
              }
          )
  
      maxis.XAxis.__init__(self, axes, *args, **kwargs)
      self.set_rotate_label(kwargs.get("rotate_label", None))
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import six
  import math
  import copy
  from matplotlib import lines, axis, patches
  from matplotlib import rcParams
  from .None import art3d
  from .None import proj3d
  import numpy
label_desc: Use image node_id 1 to create a new Axis object from inherited base classes: maxis with example: obj = Axis(adir, v_intervalx, d_intervalx, axes)