Re: [matplotlib-devel] memory leak

2008-11-21 Thread John Hunter
On Fri, Nov 21, 2008 at 8:17 AM, Benoit Zuber <[EMAIL PROTECTED]> wrote: > Sorry, I did not realise it (I suppose, I did not quite know what backend > means, now I checked it on wikipedia ;-) . Running the script with > --verbose-helpful told me that the backend was GTKAgg version 2.10.1 Here is

Re: [matplotlib-devel] Custom-sized and spanning subplots

2008-11-21 Thread John Hunter
On Fri, Nov 21, 2008 at 8:08 AM, Stan West <[EMAIL PROTECTED]> wrote: > While I check out the mplsizer toolkit, I'm still interested in any feedback > on my ideas for subplot layout features. Does anyone have any critiques, > concerns, preferences, suggestions, etc., to voice? Thanks. My main co

Re: [matplotlib-devel] memory leak

2008-11-21 Thread Benoit Zuber
> > Well, you are still using some backend, probably a GUI one, even if no > figure pops up. You can run your script with --verbose-helpful to see > what is happening. > Sorry, I did not realise it (I suppose, I did not quite know what backend means, now I checked it on wikipedia ;-) . Runni

Re: [matplotlib-devel] Custom-sized and spanning subplots

2008-11-21 Thread Stan West
While I check out the mplsizer toolkit, I'm still interested in any feedback on my ideas for subplot layout features. Does anyone have any critiques, concerns, preferences, suggestions, etc., to voice? Thanks. Stan - This

Re: [matplotlib-devel] memory leak

2008-11-21 Thread John Hunter
On Fri, Nov 21, 2008 at 7:53 AM, Benoit Zuber <[EMAIL PROTECTED]> wrote: > >> If you comment out agg you are using a gui backend presumably (which >> one) and most of these are known to have some leaks, some of which are >> beyond our control. > > This leak happened without any gui backend when I r

Re: [matplotlib-devel] memory leak

2008-11-21 Thread Benoit Zuber
> If you comment out agg you are using a gui backend presumably (which > one) and most of these are known to have some leaks, some of which are > beyond our control. This leak happened without any gui backend when I ran the script from the csh prompt like that: > python script.py > > When you

Re: [matplotlib-devel] memory leak

2008-11-21 Thread John Hunter
On Fri, Nov 21, 2008 at 7:04 AM, Benoit Zuber <[EMAIL PROTECTED]> wrote: > >> > I posted this on maplotlib-users list, but got no reply. I guess that >> > bugs should rather be reported here... >> >> Could you post a *complete* script that demonstrates the leak, eg one >> that calls the function an

Re: [matplotlib-devel] memory leak

2008-11-21 Thread Benoit Zuber
> > I posted this on maplotlib-users list, but got no reply. I guess that > > bugs should rather be reported here... > > Could you post a *complete* script that demonstrates the leak, eg one > that calls the function and does any other cleanup? Does it help to > use gc.collect between function c

Re: [matplotlib-devel] memory leak

2008-11-21 Thread John Hunter
On Fri, Nov 21, 2008 at 4:24 AM, Benoit Zuber <[EMAIL PROTECTED]> wrote: > Hi, > I posted this on maplotlib-users list, but got no reply. I guess that > bugs should rather be reported here... Could you post a *complete* script that demonstrates the leak, eg one that calls the function and does any

[matplotlib-devel] memory leak

2008-11-21 Thread Benoit Zuber
Hi, I posted this on maplotlib-users list, but got no reply. I guess that bugs should rather be reported here... I have noticed a memory leak when using pylab.pcolor. Here is the code, fa() and fb() do the same thing. The difference is the size of the array which is passed to pcolor. With a large