On Fri, Sep 9, 2011 at 5:04 PM, Matt Earnshaw <m...@earnshaw.org.uk> wrote:
> Hi all,
>
> I am encountering a memory leak type issue when running the following,
> for example.
>
> http://codepad.org/TNuCLT3k
>
> Matplotlib version: 0.99.3
> PyQt4 Version: 4.8.5
>
> I found a thread in the archive relating to this issue which supposedly
> disappeared upon updating to PyQt 4.8.4 (I trust it would not have been
> reintroduced in going to .5).
>
> Can someone confirm or deny replication of this issue with their setup
> and/or offer a solution?

This doesn't look like a leak, it looks like code error.  You are
creating unlimited numbers of figures w/o closing the old ones.  And
the use of pyplot with GUI code is not supported.  You need to use the
"embedding_in*qt*.py approach.  See the examples at

http://matplotlib.sourceforge.net/examples/user_interfaces/index.html

------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop 
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops?   How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to