consulting this: https://stackoverflow.com/questions/175 ... e-mainloop
i've found out that i have to use
Code: Select all
f = matplotlib.figure.Figure()Code: Select all
f = plt.figure()Code: Select all
f = matplotlib.figure.Figure()Code: Select all
f = plt.figure()well, I can't put the animation after the mainloop... it will be never executed in this way...the call for animation is the line before mainloop.