You are reading an old version of the documentation (v2.2.5). For the latest version see https://matplotlib.org/stable/api/_as_gen/matplotlib.artist.Artist.set_alpha.html
Version 2.2.5
matplotlib
Fork me on GitHub

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