matplotlib.axis
XAxis.
get_ticks_position
Return the ticks position ("top", "bottom", "default", or "unknown").