xontrib-kitty
xontrib-kitty copied to clipboard
Plots don't respect rcParams
I can't get any intended effect out of changing matplotlib's rcParams
strangely enough, whenever I change figure.dpi
it ends up changing the default color of the line I have it make
plt.rcParams['figure.dpi'] = 200
x = np.arange(10)
y = np.random.uniform(10, size=10)
plt.plot(x,y)
plt.show()
plt.rcParams['figure.dpi'] = 100
plt.plot(x,y)
plt.show()
Also, if I run ^that example twice without calling plt.clf()
the figure doesn't clear it's memory and shows the old x/y values alongside the new