mpl.legend.Shadow.set_visible

Shadow.set_visible(b)

Set the artist’s visiblity.

ACCEPTS: [True | False]