[Matplotlib-users] AttributeError: LineCollection instance has no attribute 'get_lines'

2007-03-26 Thread Nils Wagner
Hi all, The script available at http://projects.scipy.org/scipy/scipy/ticket/390 yields True parameters: (5.0, 1.0, -5.0), Guess parameters: (4.0, 1.5, -4.0) Optimization terminated successfully. Current function value: 33.309244 Iterations: 15 Function evaluations: 23

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 small

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

2007-03-26 Thread Eric Firing
John Hunter wrote: > 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 = [] > >

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 a

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

2007-03-26 Thread Jeff Whitaker
John Hunter wrote: > 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 sugge

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 afte

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

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 th

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 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 figure

[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] 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 i

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

2007-03-26 Thread John Hunter
On 3/26/07, Christopher Barker <[EMAIL PROTECTED]> wrote: > 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, > in

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, ad

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

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

[Matplotlib-users] pylab show()

2007-03-26 Thread Archana Ganesan
Hi, I am totally new to pylab. I have just started using it. So please excuse if my problem is too silly. I have an application that has creates different plots for different input parameters. I take in the input values and do a show(), This works perfectly fine. Now after performing some operat

Re: [Matplotlib-users] Lots of Error Messages Upon Invoking "from pylab import *"

2007-03-26 Thread Khare, Rishi
Hi Angelo, I have faced a similar problem on using "from pylab import *" but not exactly the same, " matplotlib._ns_transforms.so: undefined symbol: _ZNSs4_Rep20_S_empty_rep_storage " And I have found that this problem is deep rooted with gcc level and not with matplotlib, The python which

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

Re: [Matplotlib-users] Fwd: interactive plots again

2007-03-26 Thread Robert Cimrman
Bill Baxter wrote: > gah! bitten by reply to sender once again. Yes, this is a bit annoying. > -- Forwarded message -- > From: Bill Baxter <[EMAIL PROTECTED]> > Date: Mar 24, 2007 12:09 PM > Subject: Re: [Matplotlib-users] interactive plots again > To: Robert Cimrman <[EMAIL PROTE