You can change the background color in Matplotlib with the following code. If you want to learn Python then I will highly recommend you to read This Book.

Background Color in Matplotlib
from matplotlib import pyplot as plt
x = [1,2,3,4,5]
y = [4,8,12,16,20]
ax = plt.axes()
ax.set_facecolor('skyblue')
plt.title("Numbers and Multiple")
plt.xlabel("Numbers")
plt.ylabel("Multiple")
plt.plot(x,y,color ='blue')
plt.show()
People are also reading:
What is Computer Vision? Examples, Applications, Techniques
Top 10 Computer Vision Books with Python
Books for Machine Learning (ML)


