Version 2.2.3
matplotlib

matplotlib.axis.YTick.get_tickdir

YTick.get_tickdir()