Version 3.0.2
matplotlib

matplotlib.axis.YAxis.set_visible

YAxis.set_visible(b)

Set the artist's visibility.

Parameters:b : bool