ListedColormap.set_alpha

ListedColormap.set_alpha(alpha)[source]

Set the opacity for the entire colormap.

Parameters

alpha (float) – The opacity.