To change the background color of matplotlib plots, you can use the set_facecolor() function of the axes object of the plot. You can also set a global face color for all plots using rcParams.