Version 2.2.2
matplotlib

matplotlib.axis.XTick.apply_tickdir

XTick.apply_tickdir(tickdir)