[Matplotlib-users] a memory leak in matplotlib plot embedded in wxpython

2012-09-11 Thread Barraclough, Dominic (ext. 414)
I'm using matplotlib plots embedded in a wxpython application to display a stream of data. The application works effectively but I have noticed that memory usage rises substantially over time (if left long enough the process can go from 50MB to near 1GB of RAM). After some experimentation, I hav

Re: [Matplotlib-users] legend(loc='best') not so great

2012-09-11 Thread Damon McDougall
On Tue, Sep 11, 2012 at 3:34 PM, Neal Becker wrote: > OK, I've attached my sanitized example > ImportError: No module named pandas. Can you provide an example that doesn't depend on pandas? > Benjamin Root wrote: > >> On Tue, Sep 11, 2012 at 9:29 AM, Neal Becker >> wrote: >> >>> I tried a scat

Re: [Matplotlib-users] legend(loc='best') not so great

2012-09-11 Thread Neal Becker
OK, I've attached my sanitized example Benjamin Root wrote: > On Tue, Sep 11, 2012 at 9:29 AM, Neal Becker > wrote: > >> I tried a scatterplot with legend(loc='best'), but the legend >> appears on the upper right, covering a data point. There is nothing >> anywhere >> in the graph on the upper

Re: [Matplotlib-users] legend(loc='best') not so great

2012-09-11 Thread Benjamin Root
On Tue, Sep 11, 2012 at 9:29 AM, Neal Becker wrote: > I tried a scatterplot with legend(loc='best'), but the legend > appears on the upper right, covering a data point. There is nothing > anywhere > in the graph on the upper left, which is where 'best' should go. > > A small, self-contained exam

[Matplotlib-users] legend(loc='best') not so great

2012-09-11 Thread Neal Becker
I tried a scatterplot with legend(loc='best'), but the legend appears on the upper right, covering a data point. There is nothing anywhere in the graph on the upper left, which is where 'best' should go. -- Live Security

Re: [Matplotlib-users] python question from matlab user

2012-09-11 Thread Daπid
On Sunday, September 9, 2012, Eric Firing wrote: > Regarding the need to pre-allocate: yes, matlab is slicker in this > regard, and every now and then there is discussion about implementing > equivalent behavior in numpy, or in an add-on module. > Technically, you don´t have to preallocate the me