On Wed, Jan 5, 2011 at 10:08 AM, Christoph Gohlke <cgoh...@uci.edu> wrote:

> Not sure if this should hold the release but 1.0.1rc fails to run two
> examples (contourf_log.py and pcolor_log.py) as described in bug
> #3143748 "Math domain error in ticker.py is_decade()"
> <
> http://sourceforge.net/tracker/?func=detail&aid=3143748&group_id=80706&atid=560720
> >
>
> Christoph
>
> On 1/5/2011 5:36 AM, John Hunter wrote:
> > OK, I'm not aware of any outstanding issues that should hold this
> > release.  If there are any, please let me know, else I'll upload the
> > final later today.
> >
> > On Wed, Jan 5, 2011 at 7:33 AM, Michiel de Hoon <mjldeh...@yahoo.com
> > <mailto:mjldeh...@yahoo.com>> wrote:
> >
> >     Done.
> >
> >     Thanks,
> >     --Michiel.
> >
> >
>
>
The fix that was applied to the development branch should have also been
applied to the maintenance branch as well, but it appears that it wasn't.
The fix given in r8873 is correct, though.  Adding the np.abs() fixes the
domain error.  Taking the lx calculation out would mess things up for those
who are using various offsets for their plots.

Although, looking at the code closer, I have to wonder if it is still
correct because of the "nearest_long()" function.  Doesn't python already
have established rounding functions that should be used for these things?

Anyway, I don't know why the tickers for the colorbars are wrong... the
contourf_log.py code uses locator=ticker.LogLocator() and the pcolor_log.py
code uses norm=LogNorm().  These are two different approaches, and the tick
labels are still wrong.  Does anybody else have any insight on this?

Ben Root
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to