[matplotlib-devel] Default 'byhour' for HourLocator and AutoDateLocator

2008-06-11 Thread Stephane Raynaud
Hi, how about choosing the default value of 'byhour' for HourLocator and AutoDateLocator to range(0,24,interval) (instead of range(0,24)), to force ticks to start at midnight even when 'interval' is different from 1? -- Stephane Raynaud --

Re: [matplotlib-devel] One-pixel gap sometimes appears between AxesImage and axis frame

2008-06-11 Thread Stan West
Mike, I just noticed your revision 5402 to image.py. Thank you for addressing this. Stan -Original Message- From: Michael Droettboom [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2008 12:03 To: Stan West Cc: matplotlib-devel@lists.sourceforge.net Subject: Re: [matplotlib-devel]

[matplotlib-devel] image_demo.py raises AttributeError: set_resample

2008-06-11 Thread Tony Yu
I apologize if this doesn't belong in the developers mailing list: When I run image_demo.py in examples/pylab (using mpl r, I get AttributeError: set_resample. This error seems to have been introduced in revision 5433 with the agg resample patch (i.e. image_demo.py works fine with r5432).

Re: [matplotlib-devel] image_demo.py raises AttributeError: set_resample

2008-06-11 Thread John Hunter
On Wed, Jun 11, 2008 at 10:13 AM, Tony Yu <[EMAIL PROTECTED]> wrote: > I apologize if this doesn't belong in the developers mailing list: > When I run image_demo.py in examples/pylab (using mpl r, I > get AttributeError: set_resample. > This error seems to have been introduced in revision 5433 with

Re: [matplotlib-devel] image_demo.py raises AttributeError: set_resample

2008-06-11 Thread John Hunter
On Wed, Jun 11, 2008 at 10:13 AM, Tony Yu <[EMAIL PROTECTED]> wrote: > I apologize if this doesn't belong in the developers mailing list: One other thing -- any svn problem is fine on the dev list. In fact, it *should* be on the dev list. JDH

[matplotlib-devel] Full rebuild in order

2008-06-11 Thread Michael Droettboom
I finished moving all of the PNG reading/writing to its own module. A full rebuild is probably required after this change to ensure everything is working correctly. Cheers, Mike -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute

Re: [matplotlib-devel] Full rebuild in order

2008-06-11 Thread John Hunter
On Wed, Jun 11, 2008 at 10:52 AM, Michael Droettboom <[EMAIL PROTECTED]> wrote: > I finished moving all of the PNG reading/writing to its own module. A > full rebuild is probably required after this change to ensure everything > is working correctly. src/_png.cpp: No such file or directory Look

Re: [matplotlib-devel] Full rebuild in order

2008-06-11 Thread Michael Droettboom
Thanks. Done. John Hunter wrote: > On Wed, Jun 11, 2008 at 10:52 AM, Michael Droettboom <[EMAIL PROTECTED]> > wrote: > >> I finished moving all of the PNG reading/writing to its own module. A >> full rebuild is probably required after this change to ensure everything >> is working correctly.

Re: [matplotlib-devel] image_demo.py raises AttributeError: set_resample

2008-06-11 Thread Tony Yu
On Jun 11, 2008, at 11:47 AM, John Hunter wrote: > On Wed, Jun 11, 2008 at 10:13 AM, Tony Yu <[EMAIL PROTECTED]> wrote: >> I apologize if this doesn't belong in the developers mailing list: >> When I run image_demo.py in examples/pylab (using mpl r, I >> get AttributeError: set_resample. >> This

Re: [matplotlib-devel] One-pixel gap sometimes appears between AxesImage and axis frame

2008-06-11 Thread Michael Droettboom
You're welcome. Sorry I forgot to let you and the list know about it. ;) Cheers, Mike Stan West wrote: > Mike, > > I just noticed your revision 5402 to image.py. Thank you for addressing > this. > > Stan > > > -Original Message- > From: Michael Droettboom [mailto:[EMAIL PROTECTED] > S

Re: [matplotlib-devel] Full rebuild in order

2008-06-11 Thread John Hunter
On Wed, Jun 11, 2008 at 11:24 AM, Michael Droettboom <[EMAIL PROTECTED]> wrote: > Thanks. Done. I wonder is there is some python 2.5 is creeping in somewhere. I am experiencing the same mathtext problem I pointed out earlier: This isn't related to your recent commit, but was introduced in r5380

Re: [matplotlib-devel] Full rebuild in order

2008-06-11 Thread John Hunter
On Wed, Jun 11, 2008 at 11:53 AM, John Hunter <[EMAIL PROTECTED]> wrote: > On Wed, Jun 11, 2008 at 11:24 AM, Michael Droettboom <[EMAIL PROTECTED]> > wrote: >> Thanks. Done. > > I wonder is there is some python 2.5 is creeping in somewhere. I also notice you upgraded pyparsing in that revision,

Re: [matplotlib-devel] Full rebuild in order

2008-06-11 Thread Michael Droettboom
It's related to my recently updating pyparsing.py... It seems that it isn't Python 2.4 compatible anymore. I'd like to workaround the definiciences in the new pyparsing.py if I can (rather than simply revert) as the error messages are much more specific with the new version. I have submitted

Re: [matplotlib-devel] Full rebuild in order

2008-06-11 Thread John Hunter
On Wed, Jun 11, 2008 at 12:05 PM, Michael Droettboom <[EMAIL PROTECTED]> wrote: > It's related to my recently updating pyparsing.py... It seems that it isn't > Python 2.4 compatible anymore. > > I'd like to workaround the definiciences in the new pyparsing.py if I can > (rather than simply revert)

Re: [matplotlib-devel] Full rebuild in order

2008-06-11 Thread Michael Droettboom
Ah. I've got 0.5. I was hoping I wouldn't have to do that crazy backward compatibility stuff that mathpng.py does, but it looks like I'll have to to support 0.4. I'll look into this. Cheers, Mike John Hunter wrote: > On Wed, Jun 11, 2008 at 12:05 PM, Michael Droettboom <[EMAIL PROTECTED]> >

Re: [matplotlib-devel] Full rebuild in order

2008-06-11 Thread Michael Droettboom
Ok. I think I have that worked out -- would you mind testing on docutils 0.4? (I don't think I broke anything that wasn't already broken...) Cheers, Mike Michael Droettboom wrote: > Ah. I've got 0.5. I was hoping I wouldn't have to do that crazy > backward compatibility stuff that mathpng.

Re: [matplotlib-devel] Full rebuild in order

2008-06-11 Thread John Hunter
On Wed, Jun 11, 2008 at 12:25 PM, Michael Droettboom <[EMAIL PROTECTED]> wrote: > Ok. I think I have that worked out -- would you mind testing on docutils > 0.4? (I don't think I broke anything that wasn't already broken...) OK, sorry I've been causing so much trouble, but I guess it is good tha

[matplotlib-devel] IndexError: Unexpected SeqBase length.

2008-06-11 Thread Nils Wagner
Hi all, If I run the attached test I obtain an IndexError: Unexpected SeqBase length python -i test_struve.py --verbose-helpful $HOME=/home/nwagner CONFIGDIR=/home/nwagner/.matplotlib matplotlib data path /usr/local/lib64/python2.5/site-packages/matplotlib/mpl-data loaded rc file /home/nwagne

Re: [matplotlib-devel] Full rebuild in order

2008-06-11 Thread Michael Droettboom
John Hunter wrote: > On Wed, Jun 11, 2008 at 12:25 PM, Michael Droettboom <[EMAIL PROTECTED]> > wrote: > >> Ok. I think I have that worked out -- would you mind testing on docutils >> 0.4? (I don't think I broke anything that wasn't already broken...) >> > > OK, sorry I've been causing s

Re: [matplotlib-devel] IndexError: Unexpected SeqBase length.

2008-06-11 Thread Michael Droettboom
Probably related to my recent PNG refactoring. (That silly error message is related to a different number of arguments being provided than expected). I'll look into it. Cheers, Mike Nils Wagner wrote: > Hi all, > > If I run the attached test I obtain an > > IndexError: Unexpected SeqBase leng

Re: [matplotlib-devel] IndexError: Unexpected SeqBase length.

2008-06-11 Thread Michael Droettboom
This should now be fixed in SVN. Michael Droettboom wrote: > Probably related to my recent PNG refactoring. (That silly error > message is related to a different number of arguments being provided > than expected). I'll look into it. > > Cheers, > Mike > > Nils Wagner wrote: > >> Hi all, >>

Re: [matplotlib-devel] Patch proposal: labels location in pie chart

2008-06-11 Thread Michael Droettboom
Looks like a nice solution to me. I don't use pie charts much myself, so I'll give it some time to see if there are any dissenters. If none, I'll go ahead and commit this to SVN. Thanks! Mike Benoit Hirbec wrote: > Hello, > > Pie charts are very useful, but when wedges labels are too long, th

Re: [matplotlib-devel] Full rebuild in order

2008-06-11 Thread Gael Varoquaux
On Wed, Jun 11, 2008 at 02:01:59PM -0400, Michael Droettboom wrote: There does seem to be a recent convergence around Sphinx in the Scipy > world, and matplotlib seems to be forging ahead a little bit (maybe > that's just my impression from being in the middle of matplotlib more so > than other

Re: [matplotlib-devel] Full rebuild in order

2008-06-11 Thread John Hunter
On Wed, Jun 11, 2008 at 12:35 PM, John Hunter <[EMAIL PROTECTED]> wrote: > On Wed, Jun 11, 2008 at 12:25 PM, Michael Droettboom <[EMAIL PROTECTED]> > wrote: >> Ok. I think I have that worked out -- would you mind testing on docutils >> 0.4? (I don't think I broke anything that wasn't already bro

Re: [matplotlib-devel] Full rebuild in order

2008-06-11 Thread Johann Cohen-Tanugi
I did not manage to build it either, but with another error, the output is actually huge, and ipython (how come it is called?) crashes, but after CTRL-C I get: Original exception was: Traceback (most recent call last): File "make.py", line 54, in all() File "make.py", line 39, in all

Re: [matplotlib-devel] AttributeError: 'FigureCanvasWxAgg' object has no attribute 'SetInitialSize'

2008-06-11 Thread Stan West
Hi, John. With the change, "fig = figure(figsize=(w, h))" properly creates a figure window with a correctly-sized canvas, but "fig.set_size_inches((w, h), forward=True)" raises AttributeError: 'FigureCanvasWxAgg' object has no attribute 'SetSizeFunc' in FigureManagerWx.resize. Previously, t

[matplotlib-devel] Skew-T

2008-06-11 Thread Ryan May
Hi, I'm trying to make a Skew-T LogP plot, an important plot in meteorology, using matplotlib (mainly to help convert people away from much more horrible solutions). You can see one here: http://www.rap.ucar.edu/weather/upper/oun.gif and more cartoonish: http://www.srh.noaa.gov/oun/images/fig

[matplotlib-devel] matplotlib errors: Non-aligned pointer being freed

2008-06-11 Thread immram
Hi, I'm using matplotlib on osx leopard (compiled with gcc-4.3) and if I try to render a simple plot I see lots of these errors: python(58290) malloc: *** error for object 0xa06026d8: Non-aligned pointer being freed *** set a breakpoint in malloc_error_break to debug I get the following backtrac