So this is a simplified version, but as you can see I create a graph with matplotlib and display it. I display it with 'gray21' which has worked for Tkinter objects, but its not working here. The color 'white' is the only one I have found that works. How can I get a variety of colors? Can I use RGB or some form of exact color specification, because I have a color in mind (R:70 G:70 B:70). What forms of colors does .patch.set_facecolor() take?
import matplotlib.pyplot as plt
from matplotlib.backends.backend_tkagg import FigureCanvasTkAgg
from Tkinter import *
root=Tk()
root.geometry('1000x700')
root.configure(bg="gray21")
root.title("My Graph")
one_day_fig=plt.figure()
one_day_fig.patch.set_facecolor('gray21')
plt.plot([1,2,3], [2,4,6])
my_canvas = FigureCanvasTkAgg(one_day_fig,master=root)
plot_widget = my_canvas.get_tk_widget()
plot_widget.place(x=50, y=50)
root.mainloop()