Version 3.0.2
matplotlib

matplotlib.axis.Axis.get_visible

Axis.get_visible()

Return the artist's visiblity