Question : matplotlib background color
Answered by : exuberant-eel-2vjub8sho7i7
fig, ax = plt.subplots()
#to change the inside of the graph
ax.set_facecolor('xkcd:salmon')
ax.set_facecolor((1.0, 0.47, 0.42))
#to change the border color around the back
fig.patch.set_facecolor('xkcd:mint green')
Source : https://stackoverflow.com/questions/14088687/how-to-change-plot-background-color | Last Update : Wed, 20 May 20
Question : color plt
Answered by : dark-dugong-5uf449iophwv
matplotlib. colors
b : blue.
g : green.
r : red.
c : cyan.
m : magenta.
y : yellow.
k : black.
w : white.
Source : | Last Update : Fri, 13 Nov 20