code: def __init__(self, axis, axisnum, spine):
      self._axis = axis
      self._axisnum = axisnum
      self.line = spine
  
      if isinstance(axis, XAxis):
          self._axis_direction = ["bottom", "top"][axisnum - 1]
      elif isinstance(axis, YAxis):
          self._axis_direction = ["left", "right"][axisnum - 1]
      else:
          raise ValueError(
              "axis must be instance of XAxis or YAxis : %s is provided"
              % (axis,)
          )
      Artist.__init__(self)
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import six
  import matplotlib.axes
  from matplotlib.artist import Artist
  from matplotlib.axis import XAxis, YAxis
label_desc: Use image node_id 1 to create a new SimpleAxisArtist object from inherited base classes: Artist with example: obj = SimpleAxisArtist(axis, axisnum, spine)