matplotlib.axis.YAxis.set_visible

YAxis.set_visible(self, b)

Set the artist's visibility.

Parameters:
bbool