[Matplotlib-users] Scale problem with shared axes

2008-07-03 Thread David Trem
Hi, While upgrading from matplotlib 0.91.2 to 0.98.2 my software stop working properly. I had to adapt one of my function to autoscale visible lines. Basically, the modified function seems to work but when I use it on a shared axes context I run into problem. A small script in attachment il

Re: [Matplotlib-users] best way to produce many charts

2008-07-03 Thread Florian Mueller
Hi, John, if I run your script I found following behaviour of distinct backends in terms of memory leaks: QtAgg - ok Agg - ok GTKAgg - oh, memory leak PDF - ok, as you mentionend Hope it helps, seems it is not a problem of matplotlib?! Cheers, Florian P.S: I use matplotlib svn with following

Re: [Matplotlib-users] best way to produce many charts

2008-07-03 Thread Florian Mueller
> John, if I run your script I found following behaviour of distinct > backends in terms of memory leaks: > > QtAgg - ok > Agg - ok > GTKAgg - oh, memory leak > PDF - ok, as you mentionend > Hi John, I don't understand whats going on, but when I remove the Line "close(1)" from your script and use

Re: [Matplotlib-users] best way to produce many charts

2008-07-03 Thread John Hunter
On Thu, Jul 3, 2008 at 5:23 AM, Florian Mueller <[EMAIL PROTECTED]> wrote: > I don't understand whats going on, but when I remove the Line > "close(1)" from your script and use "GTKAgg" instead of "PDF" the > memory leak of my previous post is gone! Apparently there is a leak in the creation and

Re: [Matplotlib-users] findobj in pylab

2008-07-03 Thread John Kitchin
Thanks Matthias. That is a helpful example. I have been trying to figure out how to recursively examine all the objects in fig to see if there is a particular settable property. It seems like the algorithm has to be recursive so that it goes deep into all the lists, etc. I have not figured out ho

Re: [Matplotlib-users] remove() on text

2008-07-03 Thread John Hunter
On Wed, Jul 2, 2008 at 7:13 PM, Nihat <[EMAIL PROTECTED]> wrote: > Here are my questions: > 1. I have extended the Line2D class as I am using _nolegend_ in the label. > I still wanted to differentiate between lines using something called id. Is > there a better way of doing it with built-in attri

Re: [Matplotlib-users] findobj in pylab

2008-07-03 Thread John Hunter
On Thu, Jul 3, 2008 at 8:42 AM, John Kitchin <[EMAIL PROTECTED]> wrote: > Thanks Matthias. That is a helpful example. > > I have been trying to figure out how to recursively examine all the objects > in fig to see if there is a particular settable property. It seems like the > algorithm has to be r

[Matplotlib-users] away for a week

2008-07-03 Thread John Hunter
I will be on vacation until July 21st. I will have sporadic email contact so I may pop up here and there, but if I have been involved in a thread and mysteriously disappear, now you know why. JDH - Sponsored by: SourceForge.

Re: [Matplotlib-users] findobj in pylab

2008-07-03 Thread John Kitchin
Cool! That is exactly what I wanted to do! j -Original Message- From: John Hunter [mailto:[EMAIL PROTECTED] Sent: Thursday, July 03, 2008 10:31 AM To: John Kitchin Cc: matplotlib-users@lists.sourceforge.net; [EMAIL PROTECTED] Subject: Re: [Matplotlib-users] findobj in pylab On Thu, Jul

Re: [Matplotlib-users] Cocoa backend for embedding in Cocoa application

2008-07-03 Thread John Hunter
On Wed, Jul 2, 2008 at 3:41 PM, Barry Wark <[EMAIL PROTECTED]> wrote: > I've written the start of a Cocoa-native backend for matplotlib and > would like to submit feedback on the code and on the possibility of > including it in the standard matplotlib distribution. The backend Hey Barry, This is

[Matplotlib-users] turn off antialiasing of text

2008-07-03 Thread fkjt79
Hi Previously antialiased text can look pretty ugly when converted to bilevel . Is it possible to turn off antialiasing of text? There seems to be no setting. I tried using the Wx backend but it antialiased, too. I am using matplotlib 0.98; tried wxPython 2.6 and 2.8, matplotlib 0.91.4. I would

Re: [Matplotlib-users] turn off antialiasing of text

2008-07-03 Thread Michael Droettboom
It's certainly not exposed as an option to the user, and I don't think there's an easy way to hack this in. We can tell freetype to give us 1-bit monochrome bitmaps, but matplotlib currently expects 8-bit greyscale, so things don't really work. It's doable, but it requires some non-trivial co

[Matplotlib-users] Python Distribution with matplotlib

2008-07-03 Thread Friedrich Hagedorn
Hello, today I tried to install mpl in my local home directory at work. This debian distribution is very old and I had to compile for my own. But I failed to compile pygtk (special cairo and pango) as a dependency for mpl. So I have two questions: 1. Does you have an advice to compile mpl with m

Re: [Matplotlib-users] Python Distribution with matplotlib

2008-07-03 Thread Michael Droettboom
Friedrich Hagedorn wrote: > Hello, > > today I tried to install mpl in my local home directory at work. This > debian distribution is very old and I had to compile for my own. > > But I failed to compile pygtk (special cairo and pango) as a dependency > for mpl. So I have two questions: > > 1. Does

Re: [Matplotlib-users] Cocoa backend for embedding in Cocoa application

2008-07-03 Thread Barry Wark
On Thu, Jul 3, 2008 at 8:41 AM, John Hunter <[EMAIL PROTECTED]> wrote: > On Wed, Jul 2, 2008 at 3:41 PM, Barry Wark <[EMAIL PROTECTED]> wrote: >> I've written the start of a Cocoa-native backend for matplotlib and >> would like to submit feedback on the code and on the possibility of >> including i