I have a pretty short python program to map my RAM usage over time.
while i < 1000000000000:
x.append(i);
y.append(psutil.virtual_memory().used);
plt.plot(x,y)
i+=1;
plt.show()
plt.pause(0.0001)
For some reason, this graph changes color every time a new data point is added.
Does this have anything to do with the plt.ion()
I have? It also re-opens every time I close it. Do you guys have any solutions? Thanks in advance!