Version 3.1.2
matplotlib

matplotlib.axes.Axes.get_visible

Axes.get_visible()

Return the visibility.