Version 3.0.2
matplotlib

matplotlib.axis.YAxis.get_label_position

YAxis.get_label_position()

Return the label position (top or bottom)