.set_xticks() on the axes will set the locations and set_xticklabels() will set the displayed text.
def test(axes):
axes.bar(x,y)
axes.set_xticks(x)
axes.set_xticklabels([i+100 for i in x])

.set_xticks() on the axes will set the locations and set_xticklabels() will set the displayed text.
def test(axes):
axes.bar(x,y)
axes.set_xticks(x)
axes.set_xticklabels([i+100 for i in x])
