Version 3.0.2
matplotlib

matplotlib.axis.Axis.set_visible

Axis.set_visible(b)

Set the artist's visibility.

Parameters:b : bool