Yes.  Thank you for finding this.  Fixed in SVN.

Cheers,
Mike

Ryan May wrote:
> Hi,
>
> I think I found a bug while looking over scale.py:
>
>      127     class InvertedNaturalLogTransform(Transform):
>      128         input_dims = 1
>      129         output_dims = 1
>      130         is_separable = True
>      131         base = np.e
>      132
>      133         def transform(self, a):
>      134             return ma.power(np.e, a) / np.e
>      135
>      136         def inverted(self):
>      137             return LogScale.Log2Transform()
>
> Shouldn't line 137 instead read:
>       return LogScale.NaturalLogTransform()
>
> Ryan
>
>   

-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to