mpl.pyplot.IndexLocator.__init__

IndexLocator.__init__(base, offset)[source]

place ticks on the i-th data points where (i-offset)%base==0