On Tue, May 22, 2012 at 8:44 AM, Stevenson, Samuel <Samuel.Stevenson@coherent.com> wrote:

Hi All

After spending all day working on this I have discovered that if I explicity change the matplotlib backend in spyder from Qt4Agg to Agg then my code executes as expected with no memory errors.

Any ideas about this? It seems like a bug in Qt4Agg of some kind---is there somewhere I should file a bug report?

Thanks


Sam


Which version of mpl are you using? There have already been some efforts to close out memory leaks and yours may already be fixed in the development version of mpl.

Ben Root