[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

[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 the

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 Looks

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 error

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] Sent:

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, so that

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) as

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

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 that

[matplotlib-devel] IndexError: Unexpected SeqBaseT length.

2008-06-11 Thread Nils Wagner
Hi all, If I run the attached test I obtain an IndexError: Unexpected SeqBaseT 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

Re: [matplotlib-devel] IndexError: Unexpected SeqBaseT 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, If I run

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 broken...)

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 module 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, the

[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:

[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