Version 3.1.2
matplotlib
Fork me on GitHub

matplotlib.axis.XAxis.set_visible

XAxis.set_visible(self, b)

Set the artist's visibility.

Parameters:
b : bool