[Matplotlib-users] Memory leak in basemap or matplotlib

2007-03-26 Thread Jesper Larsen
Hi matplotlib users, I'm using matplotlib for a long running process. Unfortunately the memory usage continue to grow as the process runs. I have appended a simple example which illustrates this at the end of this mail. Unfortunately I haven't figured out how to use the information obtainable

Re: [Matplotlib-users] pylab show()

2007-03-26 Thread Alan G Isaac
http://matplotlib.sourceforge.net/faq.html#SHOW hth, Alan Isaac - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business

Re: [Matplotlib-users] Memory leak in basemap or matplotlib

2007-03-26 Thread Jeff Whitaker
Jesper Larsen wrote: Hi matplotlib users, I'm using matplotlib for a long running process. Unfortunately the memory usage continue to grow as the process runs. I have appended a simple example which illustrates this at the end of this mail. Unfortunately I haven't figured out how to use

Re: [Matplotlib-users] Default Reply-to-sender

2007-03-26 Thread Christopher Barker
Bill Baxter wrote: Did you guys make a conscious decision to have the matplotlib list send replies only to the sender of the message rather than the list? This was a deliberate decision. At the time there was a discussion, including a link to a very well written blog entry on the subject,

Re: [Matplotlib-users] Default Reply-to-sender

2007-03-26 Thread Edin Salkovic
On 3/24/07, Bill Baxter [EMAIL PROTECTED] wrote: Did you guys make a conscious decision to have the matplotlib list send replies only to the sender of the message rather than the list? This seems to be the default at SourceForge, so it's conceivable you just haven't bothered to change it.

[Matplotlib-users] A site using matplotlib

2007-03-26 Thread Edin Salkovic
I don't now if it's appropriate to post this here, but there's a new Python/Pylons powered website that uses matplotlib. Think of it as a success story for mpl: http://www.marketshares.com.au I'm not affiliated in any way with the site owner/creator. Best, Edin

Re: [Matplotlib-users] Memory leak in basemap or matplotlib

2007-03-26 Thread Eric Firing
Jeff Whitaker wrote: Jesper Larsen wrote: Hi matplotlib users, I'm using matplotlib for a long running process. Unfortunately the memory usage continue to grow as the process runs. I have appended a simple example which illustrates this at the end of this mail. Unfortunately I haven't

Re: [Matplotlib-users] Scrollbars and subplots..

2007-03-26 Thread lazardo
Thanks for your helpful response. I used wx, I'm mystified to as how to make the scroll bars bound the subplot. not the frame. The gtk example you pointed me to creates horizontal and vertical scrollbars around the whole frame, not within the subplot. i.e., if the subplot is very large

Re: [Matplotlib-users] Memory leak in basemap or matplotlib

2007-03-26 Thread Jeff Whitaker
Eric Firing wrote: Jeff Whitaker wrote: Jesper Larsen wrote: Hi matplotlib users, I'm using matplotlib for a long running process. Unfortunately the memory usage continue to grow as the process runs. I have appended a simple example which illustrates this at the end of this mail.

Re: [Matplotlib-users] Scrollbars and subplots..

2007-03-26 Thread John Hunter
On 3/26/07, lazardo [EMAIL PROTECTED] wrote: Thanks for your helpful response. I used wx, I'm mystified to as how to make the scroll bars bound the subplot. not the frame. The gtk example you pointed me to creates horizontal and vertical scrollbars around the whole frame, not within the

Re: [Matplotlib-users] Memory leak in basemap or matplotlib

2007-03-26 Thread John Hunter
On 3/26/07, Jeff Whitaker [EMAIL PROTECTED] wrote: Jesper: For now I recommend adding 'pylab.cla()' after the fig.clear() as a workaround. I don't really understand why that is necessary - perhaps John or Eric can clarify whether this is indeed a bug. I suggest adding a gc.collect after

Re: [Matplotlib-users] Memory leak in basemap or matplotlib

2007-03-26 Thread John Hunter
On 3/26/07, Jeff Whitaker [EMAIL PROTECTED] wrote: John Hunter wrote: John: Nope, that has no effect. What does cla clean up that clf doesn't? Well, it flushes all the lines, removes the ticks, that kind of thing. But fig.clear sets self.axes = [] so if there are no references to the axes

Re: [Matplotlib-users] matshow?

2007-03-26 Thread Suresh Pillai
Thanks again Eric for the updated matshow(). I apologise for repeating: Since it has been decided (has it?) that matshow will retain the feature that a new figure is created (with aspect ratio matching the matrix), then if one adds a colorbar (a typical thing to do), the matrix height is