code: def yunit(self):
          
          try:
              return self._dy.unit
          except AttributeError:
              try:
                  return self._y0.unit
              except AttributeError:
                  return self._default_yunit
docs: Unit of Y-axis index
  
          :type: `~astropy.units.Unit`