Re: [matplotlib-devel] Cairo backend prospects

2007-07-06 Thread Eric Firing
> There are two conspicuous bugs in the Cairo output: > > 1) contour_demo.py: the image part of the figure is wrong in shape and > content. It looks like an array dimensions confusion or something like > that. Strangely, the very similar image in image_demo.py is fine. I fixed this bug. The

Re: [matplotlib-devel] OT: licensing discussion

2007-07-06 Thread Carl Worth
On Fri, 06 Jul 2007 14:03:30 -0700, Christopher Barker wrote: > to, so maybe I'm missing something. In essence, I see a distinction > between contributing to a project someone else is releasing, and > creating a derived work that I release myself. Maybe there is no > difference. I'll reply only

Re: [matplotlib-devel] canvas objects

2007-07-06 Thread Paul Kienzle
On Fri, Jul 06, 2007 at 10:15:48AM -0500, John Hunter wrote: > On 7/6/07, Paul Kienzle <[EMAIL PROTECTED]> wrote: > > Instead I would like to start by splitting the current pick method > > into two parts: > >contains(event,picker) which returns truth value,details > >pick(event) which gene

Re: [matplotlib-devel] OT: licensing discussion

2007-07-06 Thread Christopher Barker
Carl Worth wrote: > Yes, I have thought about licensing a lot. And I'll gladly share my > opinions, (but no legal advice, of course, etc. etc.). Thanks for your input. >> I work for the US federal government, and we are not allowed to >> copyright our work, so be definition, any code we write is

Re: [matplotlib-devel] Cairo backend prospects

2007-07-06 Thread John Hunter
On 7/6/07, Eric Firing <[EMAIL PROTECTED]> wrote: > 2) polar_demo.py: the part of the spiral outside the bounding circle is > removed in the Agg version but not in the Cairo version. This is a fairly new feature I added to add -- clipping to a polygon. I haven't ported it to postscript yet. The

Re: [matplotlib-devel] Cairo backend prospects

2007-07-06 Thread Eric Firing
All, I am reviving this old thread because the topic came up in a thread with a less-apropos name, and I think we can move it forward a bit more now. Steve's message (below) is still a useful summary of the cairo status. examples/backend_driver.py can now be used for wholesale testing and co

Re: [matplotlib-devel] OT: licensing discussion

2007-07-06 Thread Carl Worth
On Fri, 06 Jul 2007 10:05:22 -0700, Christopher Barker wrote: > Sorry to spam this list with this, but it came up here... > > Carl, you have clearly thought this out a lot, and have a real > experience with this, so I have a issue that you may have some insights > into: Yes, I have thought about l

Re: [matplotlib-devel] Subsetting fonts in Postscript

2007-07-06 Thread Carl Worth
On Fri, 6 Jul 2007 08:20:59 -0500, "John Hunter" wrote: > On 7/5/07, Carl Worth <[EMAIL PROTECTED]> wrote: > Hey Carl -- thanks for the response. You're quite welcome. Thank you for receiving it as intended---as an alternate viewpoint based on my experience. > I think LGPL is a perfectly good lic

Re: [matplotlib-devel] GLPython for 3D plots

2007-07-06 Thread Bill Baxter
"Cheat commandos, Rock rock on." Sounds great. This is sorely needed in matplotlib I think. But I have no idea how to make it work. Mayavi is way to huge for the kind of simple 3D plotting needs most folks have. --bb On 7/7/07, Nicolas Rougier <[EMAIL PROTECTED]> wrote: Hi all, I've been

Re: [matplotlib-devel] OT: licensing discussion

2007-07-06 Thread Carl Worth
On Sat, 7 Jul 2007 02:16:34 +0900, "Bill Baxter" wrote: > > Carl Worth wrote: > > >> http://www.scipy.org/License_Compatibility > > > > > > Thanks, John, for sharing this essay. Please allow me to respond to a > > > few points: > > I can't answer your question about GPL in the gub'ment, but I would

Re: [matplotlib-devel] OT: licensing discussion

2007-07-06 Thread Bill Baxter
On 7/7/07, Christopher Barker <[EMAIL PROTECTED]> wrote: Sorry to spam this list with this, but it came up here... Carl Worth wrote: >> http://www.scipy.org/License_Compatibility > > Thanks, John, for sharing this essay. Please allow me to respond to a > few points: I can't answer your quest

[matplotlib-devel] OT: licensing discussion

2007-07-06 Thread Christopher Barker
Sorry to spam this list with this, but it came up here... Carl Worth wrote: >> http://www.scipy.org/License_Compatibility > > Thanks, John, for sharing this essay. Please allow me to respond to a > few points: Carl, you have clearly thought this out a lot, and have a real experience with this,

Re: [matplotlib-devel] canvas objects

2007-07-06 Thread Paul Kienzle
On Fri, Jul 06, 2007 at 10:15:48AM -0500, John Hunter wrote: > On 7/6/07, Paul Kienzle <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I've been playing with the pick infrastructure in 0.90 and find that > > it doesn't meet my needs. The issue is that events from all artists > > go to the same callback

[matplotlib-devel] GLPython for 3D plots

2007-07-06 Thread Nicolas Rougier
Hi all, I've been working on an OpenGL python terminal because I needed some fast display for regular 2D arrays and I thought it might be of some interest for some of you (even if it does not compare to matplotlib in any way). The address is: http://www.loria.fr/~rougier/index.php?n=GLPython.GL

Re: [matplotlib-devel] canvas objects

2007-07-06 Thread John Hunter
On 7/6/07, Paul Kienzle <[EMAIL PROTECTED]> wrote: > Hi, > > I've been playing with the pick infrastructure in 0.90 and find that > it doesn't meet my needs. The issue is that events from all artists > go to the same callback, so you are forced write your callback as a > series of if statements fo

[matplotlib-devel] canvas objects

2007-07-06 Thread Paul Kienzle
Hi, I've been playing with the pick infrastructure in 0.90 and find that it doesn't meet my needs. The issue is that events from all artists go to the same callback, so you are forced write your callback as a series of if statements for each artist which may receive a pick event. I would rather

Re: [matplotlib-devel] Subsetting fonts in Postscript

2007-07-06 Thread John Hunter
On 7/5/07, Carl Worth <[EMAIL PROTECTED]> wrote: > Thanks, John, for sharing this essay. Please allow me to respond to a > few points: Hey Carl -- thanks for the response. You have definitely made me reconsider some of my arguments, though my conclusion mostly remains intact. At the end of the

Re: [matplotlib-devel] Subsetting fonts in Postscript

2007-07-06 Thread Michael Droettboom
John Hunter wrote: > What about simple_demo.py -- do you get rasters there too? No. I get vectors there. I noticed that using the backend "GtkCairo" seems to use backend_ps.py for Postscript output. Using backend "Cairo" uses cairo. Maybe probably explains the difference between Darren and my

Re: [matplotlib-devel] Subsetting fonts in Postscript

2007-07-06 Thread Michael Droettboom
John Hunter wrote: > On 7/6/07, Michael Droettboom <[EMAIL PROTECTED]> wrote: > >> I don't know the root cause, but FYI I'm definitely getting rasterized >> text with the Cairo backend for mathtext_demo.py. (I'm using >> cairo-1.4.10, which I believe is the latest stable release). > > And you are

Re: [matplotlib-devel] Subsetting fonts in Postscript

2007-07-06 Thread Darren Dale
On Friday 06 July 2007 08:35:31 am John Hunter wrote: > On 7/6/07, Michael Droettboom <[EMAIL PROTECTED]> wrote: > > I don't know the root cause, but FYI I'm definitely getting rasterized > > text with the Cairo backend for mathtext_demo.py. (I'm using > > cairo-1.4.10, which I believe is the late

[matplotlib-devel] E-mail server trouble

2007-07-06 Thread Michael Droettboom
My sincere apologies for the multiple copies of the e-mail sent this morning. I was getting "SMTP server down" messages, but clearly the messages were sent anyway. I'm not a spammer, really! ;) Mike - This SF.net email is

[matplotlib-devel] wxPython reference leak was (Re: Memory leaks)

2007-07-06 Thread Michael Droettboom
I had no trouble reproducing this on my Ubuntu Feisty box. It turns out that wxPython leaks a dictionary for every object whose class subclasses a Wx class. There is a fix for this that made it into wxPython-2.8.3.0: http://cvs.wxwidgets.org/viewcvs.cgi/wxWidgets/wxPython/src/helpers.cpp.diff?r1

[matplotlib-devel] wxPython reference leak was (Re: Memory leaks)

2007-07-06 Thread Michael Droettboom
I had no trouble reproducing this on my Ubuntu Feisty box. It turns out that wxPython leaks a dictionary for every object whose class subclasses a Wx class. There is a fix for this that made it into wxPython-2.8.3.0: http://cvs.wxwidgets.org/viewcvs.cgi/wxWidgets/wxPython/src/helpers.cpp.diff?r1

[matplotlib-devel] wxPython reference leak was (Re: Memory leaks)

2007-07-06 Thread Michael Droettboom
I had no trouble reproducing this on my Ubuntu Feisty box. It turns out that wxPython leaks a dictionary for every object whose class subclasses a Wx class. There is a fix for this that made it into wxPython-2.8.3.0: http://cvs.wxwidgets.org/viewcvs.cgi/wxWidgets/wxPython/src/helpers.cpp.diff?

[matplotlib-devel] wxPython reference leak was (Re: Memory leaks)

2007-07-06 Thread Michael Droettboom
I had no trouble reproducing this on my Ubuntu Feisty box. It turns out that wxPython leaks a dictionary for every object whose class subclasses a Wx class. There is a fix for this that made it into wxPython-2.8.3.0: http://cvs.wxwidgets.org/viewcvs.cgi/wxWidgets/wxPython/src/helpers.cpp.diff?r1

[matplotlib-devel] wxPython reference leak was (Re: Memory leaks)

2007-07-06 Thread Michael Droettboom
I had no trouble reproducing this on my Ubuntu Feisty box. It turns out that wxPython leaks a dictionary for every object whose class subclasses a Wx class. There is a fix for this that made it into wxPython-2.8.3.0: http://cvs.wxwidgets.org/viewcvs.cgi/wxWidgets/wxPython/src/helpers.cpp.diff?r1

[matplotlib-devel] wxPython reference leak was (Re: Memory leaks)

2007-07-06 Thread Michael Droettboom
I had no trouble reproducing this on my Ubuntu Feisty box. It turns out that wxPython leaks a dictionary for every object whose class subclasses a Wx class. There is a fix for this that made it into wxPython-2.8.3.0: http://cvs.wxwidgets.org/viewcvs.cgi/wxWidgets/wxPython/src/helpers.cpp.diff?r1

[matplotlib-devel] wxPython reference leak was (Re: Memory leaks)

2007-07-06 Thread Michael Droettboom
I had no trouble reproducing this on my Ubuntu Feisty box. It turns out that wxPython leaks a dictionary for every object whose class subclasses a Wx class. There is a fix for this that made it into wxPython-2.8.3.0: http://cvs.wxwidgets.org/viewcvs.cgi/wxWidgets/wxPython/src/helpers.cpp.diff?

Re: [matplotlib-devel] Subsetting fonts in Postscript

2007-07-06 Thread John Hunter
On 7/6/07, Michael Droettboom <[EMAIL PROTECTED]> wrote: > I don't know the root cause, but FYI I'm definitely getting rasterized > text with the Cairo backend for mathtext_demo.py. (I'm using > cairo-1.4.10, which I believe is the latest stable release). And you are pretty sure it is all the te

[matplotlib-devel] wxPython reference leak was (Re: Memory leaks)

2007-07-06 Thread Michael Droettboom
I had no trouble reproducing this on my Ubuntu Feisty box. It turns out that wxPython leaks a dictionary for every object whose class subclasses a Wx class. There is a fix for this that made it into wxPython-2.8.3.0: http://cvs.wxwidgets.org/viewcvs.cgi/wxWidgets/wxPython/src/helpers.cpp.diff?

Re: [matplotlib-devel] Subsetting fonts in Postscript

2007-07-06 Thread Michael Droettboom
Carl Worth wrote: >> don't think it is supported in cairo. So I am not sure where these >> rasters are coming from, unless cairo is converting all text to >> rasters. >> > > Definitely not converting all text to raster, (unless someone's using > an ancient version of cairo). > I don't know

[matplotlib-devel] NameError: global name 'app' is not defined

2007-07-06 Thread Nils Wagner
Hi all, The svn version raises a name error. Traceback (most recent call last): File "lshape.py", line 49, in ? figure(1) File "/usr/lib64/python2.4/site-packages/matplotlib/pylab.py", line 865, in figure figManager = new_figure_manager(num, figsize=figsize, dpi=dpi, facecolor=faceco