ax.set_xticks(xticks)
ax.set_xticks(xticks_minor, minor=True)
ax.set_xticklabels(xlbls)
ax.set_xlim(1, 11)
ax.grid('off', axis='x')
ax.grid('off', axis='x', which='minor')
va = [0, -0.05, 0, -0.05, -0.05, -0.05]
for t, y in zip(ax.get_xticklabels(), va):
    t.set_y(y)
ax.tick_params(axis='x', which='minor', direction='out', length=30)
ax.tick_params(axis='x', which='major', bottom='off', top='off')
Multiple lines of x tick labels in matplotlib