Google Groups

Re: @interact with non-Sage objects

gsever Jan 24, 2010 8:06 AM
Posted in group: sage-support

On Jan 24, 5:49 am, Harald Schilly <> 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.