Version 3.0.2
matplotlib

matplotlib.axes.Axes.get_axisbelow

Axes.get_axisbelow()

Get whether axis ticks and gridlines are above or below most artists.

Returns:axisbelow : bool or 'line'

See also

set_axisbelow