Version 2.2.2
matplotlib
Fork me on GitHub

matplotlib.axis.XAxis.get_visible

XAxis.get_visible()

Return the artist’s visiblity