class_docstr: Helper class for a fixed (in the axes coordinate) axis.
class_docstr_tok: ["Helper","class","for","a","fixed","(","in","the","axes","coordinate",")","axis","."]
docstr: ``nth_coord = 0``: x-axis; ``nth_coord = 1``: y-axis.
docstr_tok: ["``","nth_coord","=","0","``",":","x-axis",";","``","nth_coord","=","1","``",":","y-axis","."]
code: def __init__(self, loc, nth_coord=None):
      """``nth_coord = 0``: x-axis; ``nth_coord = 1``: y-axis."""
      self.nth_coord = (
          nth_coord
          if nth_coord is not None
          else _api.check_getitem(
              {"bottom": 0, "top": 0, "left": 1, "right": 1}, loc=loc
          )
      )
      if (
          nth_coord == 0
          and loc not in ["left", "right"]
          or nth_coord == 1
          and loc not in ["bottom", "top"]
      ):
          _api.warn_deprecated(
              "3.7",
              message=f"{loc=!r} is incompatible with "
              "{nth_coord=}; support is deprecated since %(since)s",
          )
      self._loc = loc
      self._pos = {"bottom": 0, "top": 1, "left": 0, "right": 1}[loc]
      super().__init__()
      # axis line in transAxes
      self._path = Path(self._to_xy((0, 1), const=self._pos))
  
imports: import numpy
  import matplotlib
  from matplotlib import _api
  import matplotlib.axes
  from matplotlib.path import Path
  from mpl_toolkits.axes_grid1 import mpl_axes
  from .axisline_style import AxislineStyle
  from .axis_artist import AxisArtist, GridlinesCollection
label_desc: Use image node_id 1 to create a new _FixedAxisArtistHelperBase object from inherited base classes: _AxisArtistHelperBase with example: obj = _FixedAxisArtistHelperBase(loc, nth_coord)