Version 2.2.4
matplotlib

matplotlib.artist.Artist.set_visible

Artist.set_visible(b)[source]

Set the artist's visibility.

Parameters:

b : bool