Re: [Matplotlib-users] canvas.draw() + pyqt4 memory leak

2011-07-22 Thread zb
Hi I updated to the latest Qt and PyQt and the memory leak is not there any more. Looks like matplotlib was OK. Qt 4.7.3 PyQt 4.8.4 Windows OS Cheers From: zb To: Eric Firing ; matplotlib-users@lists.sourceforge.net Sent: Thursday, June 16, 2011 2:20 PM

Re: [Matplotlib-users] canvas.draw() + pyqt4 memory leak

2011-06-16 Thread zb
nes()     mem = int(a2[1].split()[1])     elif sys.platform.startswith('darwin'):     a2 = Popen('ps -p %d -o rss,vsz' % pid, shell=True,     stdout=PIPE).stdout.readlines()     mem = int(a2[1].split()[0])     return mem --- On Thu, 6/16/11, zb wrote: From: zb

Re: [Matplotlib-users] canvas.draw() + pyqt4 memory leak

2011-06-16 Thread zb
leak To: matplotlib-users@lists.sourceforge.net Date: Wednesday, June 15, 2011, 7:46 PM On 06/15/2011 01:15 PM, zb wrote: > Hi > > You could try the example here: > > http://matplotlib.sourceforge.net/examples/user_interfaces/embedding_in_qt4.html > > Look at the memory grow. I

Re: [Matplotlib-users] canvas.draw() + pyqt4 memory leak

2011-06-15 Thread zb
() + pyqt4 memory leak To: matplotlib-users@lists.sourceforge.net Date: Wednesday, June 15, 2011, 6:33 PM On 06/15/2011 12:13 PM, zb wrote: > Hi > > I have a loop that updates a graph by calling > > self.fig.canvas.draw() > > But every time it updates the graph, the memory usage goes

[Matplotlib-users] canvas.draw() + pyqt4 memory leak

2011-06-15 Thread zb
Hi I have a loop that updates a graph by calling self.fig.canvas.draw() But every time it updates the graph, the memory usage goes up. If the program runs for one hour, the memory is gone (things start to run slow too). I've tried to close() objects but the only thing that brings back the ram

Re: [Matplotlib-users] new 1.0.1 and py2exe build fails

2011-01-07 Thread zb
gt; Please post a minimal script that > fails and details about your setup. I > do not have any problem with mpl 1.0.1 and py2exe. > > Christoph > > On 1/6/2011 4:48 PM, zb wrote: > > Hi > > > > I decided to give a quick try to 1.0.1 and py2exe and >

[Matplotlib-users] new 1.0.1 and py2exe build fails

2011-01-06 Thread zb
Hi I decided to give a quick try to 1.0.1 and py2exe and see what happens. When I try to start the compiled exe program I get this error log: Traceback (most recent call last): File "artisan.pyw", line 122, in File "zipextimporter.pyo", line 82, in load_module File "matplotlib\figure.py

[Matplotlib-users] How customize NavigationToolbar to change x, y mouse over in Qt4 backend

2010-12-29 Thread zb
Hi. What is the right way to change the x,y text that appears at the right end of the NavigationToolbar? I like it but I would like to change the x value by a function call like: newx = (time(x)) I am using Qt4 backend. I would like to init a copy of the NavigationToolbar and made the necessa

[Matplotlib-users] problems with latest Matplotlib 1.0, pyQt4 and py2exe

2010-12-26 Thread zb
Hi. First of all, I would like to thank the developers of this wonderful package. I started doing an app and I finally tried to compile it with py2exe. I run into some issues that I posted in the py2exe group here; http://sourceforge.net/mailarchive/forum.php?thread_name=ienv6p%24b42%241%40doug