On Jan 24, 5:49 am, Harald Schilly <harald.schi...@gmail.com> wrote: > Last line must be plt.savefig('plt.png') and not .show() because you > are on a website and saved files are shown. When I tried it first, it > didn't update the image because it was somehow locally cached. On > second try it worked ... > > H
Thanks this helped. Adding a plt.clf() clear the figure after each plot update.