Version 2.2.2
matplotlib
Fork me on GitHub

matplotlib.axis.XTick.get_tickdir

XTick.get_tickdir()