Version 2.2.3
matplotlib

matplotlib.axis.Axis.get_label_position

Axis.get_label_position()[source]

Return the label position (top or bottom)