Hi, The freezing could be a memory leak. http://stackoverflow.com/questions/7125710/matplotlib-errors-result-in-a-memory-leak-how-can-i-free-up-that-memory
Could the image be cached by the browser, does shift+F5 refresh it? The easiest way to fix it would be to use a different url/filename every time you generate an new image. Collin On Thursday, February 19, 2015 at 4:26:16 PM UTC-5, dk wrote: > > I am using matplotlib.pyplot to generate a plot image, put it in a temp > folder, > and then use that to populate a webpage. > > the problem is: > 1) always display the same image, I all ready deleted the image before > creating the new one, > I also set pyplot .close() to close all my figures. > > 2) some times everything freeze and stop working. > > my suspicions is since django is constantly running keeps the figure in > the memory some how. have any one got issues like this? > thanks. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/d4f25a28-67f3-445e-8b46-f01b026842a4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.