'return the Foo AxisInfo'

@staticmethod
def axisinfo(unit, axis):

    if ((unit == 1.0) or (unit == 2.0)):
        return units.AxisInfo(majloc=ticker.IndexLocator(8, 0), majfmt=ticker.FormatStrFormatter('VAL:    %s'), label='foo')
    else:
        return None
