How to change the opacity of a plot using Matplotlib
• 1 minChanging the opacity of plot can be extremely useful when you want to compare multiple features, especially when your plot is crowded.
Here is a simple example of a line plot, using the matplotlib library.
As you can see we use the alpha parameter that specify the opacity of the plot which has as value [0,1] (e.g. 0.5).
Here you are ! you now know how to set the opacity of a plot using Matplotlib.