Re: [Matplotlib-users] canvas.draw() memory issue? (PyQt4)

2011-09-16 Thread Keith Hughitt
Is it not possible to use imshow() in a Qt application then? -- BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA http://p.sf.net/sfu/rim-devcon-copy2___

Re: [Matplotlib-users] canvas.draw() memory issue? (PyQt4)

2011-09-16 Thread Darren Dale
On Fri, Sep 16, 2011 at 9:44 AM, Keith Hughitt keith.hugh...@gmail.com wrote: Is it not possible to use imshow() in a Qt application then? http://matplotlib.sourceforge.net/api/axes_api.html#matplotlib.axes.Axes.imshow

Re: [Matplotlib-users] canvas.draw() memory issue? (PyQt4)

2011-09-16 Thread John Hunter
Yes, it is possible. Everything that is possible in the pyplot interface is available in the API (the pyplot interface is a thin wrapper). Most plotting methods from pyplot like plot, semilogx, imshow, scatter, etc, are axes instances ax = fig.add_subplot(111) ax.imshow(...) and the title,

Re: [Matplotlib-users] canvas.draw() memory issue? (PyQt4)

2011-09-15 Thread Keith Hughitt
Confirmed with: PyQt4 4.8.3 Matplotlib 1.1.0 Not sure what the cause is though. Keith On Fri, Sep 9, 2011 at 6: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.o rrg/TNuCLT3k

Re: [Matplotlib-users] canvas.draw() memory issue? (PyQt4)

2011-09-15 Thread John Hunter
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

[Matplotlib-users] canvas.draw() memory issue? (PyQt4)

2011-09-09 Thread Matt Earnshaw
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