When making a subplot we use facecolor
argument to set the color of the background. For example
import matplotlib.pyplot as plt
fig, ax = plt.subplots(facecolor="black")
ax.set_facecolor("black")
This produces the following output:
Now the above output is a plain black color. What I want is to add an effect to this plain black color so that it will look like this:
If you observe closely there is a bit of white color scattered over the black colored background. How to produce this effect in matplotlib?