restreindre les tiques aux entiers matplotlib

    from pylab import MaxNLocator

    ya = axes.get_yaxis()
    ya.set_major_locator(MaxNLocator(integer=True))
Real Raccoon