Version 2.2.3
matplotlib

matplotlib.axis.YAxis.get_visible

YAxis.get_visible()

Return the artist's visiblity