Version 2.2.4
matplotlib

matplotlib.axis.XAxis.get_visible

XAxis.get_visible()

Return the artist's visiblity