Can someone please explain why the code below does not work when setting the facecolor of the figure?
import matplotlib.pyplot as plt # create figure instan
If you want to change background color, try this:
plt.rcParams['figure.facecolor'] = 'white'