matplotlib.axis
YAxis.
get_ticks_position
Return the ticks position ("left", "right", "default", or "unknown").