Version 2.2.2
matplotlib

matplotlib.axis.YTick.get_tickdir

YTick.get_tickdir()