Axes.
set_axisbelow
Set the zorder for the axes ticks and gridlines.
True corresponds to a zorder of 0.5, False to a zorder of 2.5, and "line" to a zorder of 1.5.
True
False
"line"