Version 3.0.2
matplotlib

matplotlib.axis.XTick.get_tickdir

XTick.get_tickdir()