Re: [matplotlib-devel] Building matplotlib on Leopard

2007-11-14 Thread Jeremy Conlin
On Nov 14, 2007 3:00 PM, Boyd Waters <[EMAIL PROTECTED]> wrote: > > On Nov 14, 2007, at 11:11 AM, Jeremy Conlin wrote: > > > Mr. Waters, > > > > I read on the matplotlib mailing lists that you have compiled > > matplotlib on Leopard using libpng, freetype, etc. that are included > > with Leopard.

Re: [matplotlib-devel] Circle Markers + vector graphics

2007-11-14 Thread Michael Droettboom
John Hunter wrote: > On Nov 14, 2007 1:53 PM, Ryan May <[EMAIL PROTECTED]> wrote: >> Hi, >> >> Is there any reason that circles are approximated by polygons when >> written out by vector graphics backends (i.e. SVG, PS)? Someone pointed >> this out to me, and having verified it, I found it surpris

Re: [matplotlib-devel] Circle Markers + vector graphics

2007-11-14 Thread John Hunter
On Nov 14, 2007 1:53 PM, Ryan May <[EMAIL PROTECTED]> wrote: > Hi, > > Is there any reason that circles are approximated by polygons when > written out by vector graphics backends (i.e. SVG, PS)? Someone pointed > this out to me, and having verified it, I found it surprising. I would > think sinc

Re: [matplotlib-devel] Building matplotlib on Leopard

2007-11-14 Thread Boyd Waters
On Nov 14, 2007, at 11:11 AM, Jeremy Conlin wrote: Mr. Waters, I read on the matplotlib mailing lists that you have compiled matplotlib on Leopard using libpng, freetype, etc. that are included with Leopard. I am trying to do the same, but have so far been unsuccessful. I could install those

[matplotlib-devel] Circle Markers + vector graphics

2007-11-14 Thread Ryan May
Hi, Is there any reason that circles are approximated by polygons when written out by vector graphics backends (i.e. SVG, PS)? Someone pointed this out to me, and having verified it, I found it surprising. I would think since at least SVG directly supports circles, they'd be used for output.

Re: [matplotlib-devel] is_string_like fails

2007-11-14 Thread John Hunter
On Nov 14, 2007 1:24 PM, Michael Droettboom <[EMAIL PROTECTED]> wrote: > Coincidentally, I just noticed this myself, and fixed it (and renamed it > to is_writable_file_like). There will be (once I commit), and handful > of places that use it. By the way, your changes to make all the backends sup

Re: [matplotlib-devel] is_string_like fails

2007-11-14 Thread Michael Droettboom
John Hunter wrote: >> At the same time, I notice that cbook.is_file_like is identical to >> is_string_like. This seems worse than useless to me. If we are going >> to have "is_file_like" then it should do something like check for read >> and write methods. > > This looks like a bug. No other pa

Re: [matplotlib-devel] is_string_like fails

2007-11-14 Thread John Hunter
On Nov 14, 2007 12:57 PM, Eric Firing <[EMAIL PROTECTED]> wrote: > step_demo is failing because of this: > > In [4]:xx = numpy.ma.ones((2,3)) > > In [5]:xx + '' > Out[5]:array(NotImplemented) > A couple of days ago I was cleaning up references to Numeric and numarray, and came across this def is

[matplotlib-devel] is_string_like fails

2007-11-14 Thread Eric Firing
step_demo is failing because of this: In [4]:xx = numpy.ma.ones((2,3)) In [5]:xx + '' Out[5]:array(NotImplemented) which makes cbook.is_string_like(xx) return True. This is a pitfall of duck-typing--sometimes something that quacks like duck is not a duck at all. I can get back to this late

Re: [matplotlib-devel] small patch for axes.specgram

2007-11-14 Thread Glen W. Mabey
On Wed, Nov 14, 2007 at 08:59:15AM -0600, John Hunter wrote: > Glen, this looks fairly benign (the center frequency bit) so I am > happy to add it, but could I trouble you to make similar patch the > other spectral methods as well (eg psd, csd and cohere) for the sake > of consistency in the API?

Re: [matplotlib-devel] [Matplotlib-users] check pylab before upcoming release

2007-11-14 Thread John Hunter
On Nov 12, 2007 8:35 PM, Jarrod Millman <[EMAIL PROTECTED]> wrote: > I am willing to commit to helping migrating the relevant mlab code > over to SciPy (or NumPy). The next release of SciPy > (http://projects.scipy.org/scipy/scipy/milestone/0.7) may be pushed > back a little, but it should be out

Re: [matplotlib-devel] small patch for axes.specgram

2007-11-14 Thread John Hunter
On Nov 14, 2007 8:00 AM, Michael Droettboom <[EMAIL PROTECTED]> wrote: > I'll defer to others with more experience with specgram to assess the > rest of your patch. Glen, this looks fairly benign (the center frequency bit) so I am happy to add it, but could I trouble you to make similar patch th

Re: [matplotlib-devel] small patch for axes.specgram

2007-11-14 Thread Michael Droettboom
The fix for mlab.py is obviously necessary, so I've committed it to SVN. I'll defer to others with more experience with specgram to assess the rest of your patch. Cheers, Mike Glen W. Mabey wrote: > Hello, > > This is fairly minor, but I'd wonder if you'd consider including it. > > It adds an

Re: [matplotlib-devel] Little fix in the TkAgg backend

2007-11-14 Thread Michael Droettboom
Thanks. This has been committed in SVN revision 4267, and will likely make it into the upcoming release. Cheers, Mike Michael Zell wrote: > Hi, > > whenever I clicked the "save"-button in a plot in my TkAgg and pressed > "cancel" in the file dialog, I got the error message > > Exception in T

[matplotlib-devel] Little fix in the TkAgg backend

2007-11-14 Thread Michael Zell
Hi, whenever I clicked the "save"-button in a plot in my TkAgg and pressed "cancel" in the file dialog, I got the error message Exception in Tkinter callback Traceback (most recent call last): File "lib-tk/Tkinter.py", line 1406, in __call__ return self.func(*args) File "/usr/lib/pyth