Thanks for finding these.  I suspect that is related to the migration 
from numarray to numpy.

I have fixed logo.py and mri_demo.py.  I believe the rc_traits.py is 
correct (that "Float" is from traits, not numpy).

Cheers,
Mike

Nils Wagner wrote:
> On Thu, 13 Dec 2007 09:07:42 +0100
>   "Nils Wagner" <[EMAIL PROTECTED]> wrote:
>> Hi all,
>>
>> It should be float32 instead of Float32.
>>
>> python logo.py
>> Traceback (most recent call last):
>>   File "logo.py", line 7, in ?
>>     x = 1000*0.1*fromstring(
>> NameError: name 'Float32' is not defined
>>
>> Nils
>>
>   
> Actually there are some more NameErrors in the examples
> 
> grep -w 'Float*' *.py
> mri_demo.py:im = fromstring(file(dfile, 'rb').read(), 
> UInt16).astype(Float)
> rc_traits.py:   linewidth       = traits.Float(0.5)
> rc_traits.py:   markeredgewidth = traits.Float(0.5)
> rc_traits.py:   markersize      = traits.Float(6)
> rc_traits.py:   linewidth       = traits.Float(1.0)
> rc_traits.py:   linewidth = traits.Float(0.5)
> 
> python mri_demo.py
> Traceback (most recent call last):
>    File "mri_demo.py", line 6, in ?
>      im = fromstring(file(dfile, 'rb').read(), 
> UInt16).astype(Float)
> NameError: name 'UInt16' is not defined
> 
> 
> Nils
> 
> 
> -------------------------------------------------------------------------
> SF.Net email is sponsored by:
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services
> for just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> _______________________________________________
> Matplotlib-devel mailing list
> Matplotlib-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

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

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to