Version 3.0.2
matplotlib

matplotlib.artist.Artist.set_alpha

Artist.set_alpha(alpha)[source]

Set the alpha value used for blending - not supported on all backends.

Parameters:alpha : float