I’d like to create ellipses in matplotlib with a fill color that has an alpha (opacity) value that depends on the radius;
e.g., a 2D Gaussian.
Is there any way to do this?
It is possible to create rectangular plots with color gradients easily enough (like Gradient facecolor matplotlib bar plot and this) but I can’t figure out how to do the same for circles/ellipses.
Here is function example using the idea from Alex’s post
And here is what you get when you run