matplotlib.axes.Axes.get_axisbelow

Axes.get_axisbelow()

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

Returns:
bool or 'line'

See also

set_axisbelow

Examples using matplotlib.axes.Axes.get_axisbelow