It's a bug with PyGTK in that merely importing it sets the locale.

But more seriously, it's also a bug in Numpy, in that its string 
formatting is dependent on locale (unlike standard floats in Python).

See this Numpy bug:

http://projects.scipy.org/scipy/numpy/ticket/902
*
*and this mailing list thread:

http://www.mail-archive.com/numpy-discuss...@scipy.org/msg14563.html

Cheers,
Mike

Ryan May wrote:
> Lionel Roubeyrie wrote:
>   
>> Hi all,
>> Trying to write to text files some plotted datas, we have a strange
>> behavour on masked arrays after importing pylab, with the dot decimal
>> separator replaced by a comma (but not all) : 
>> ##############################
>> Python 2.5.2 (r252:60911, Oct  5 2008, 19:24:49) 
>> [GCC 4.3.2] on linux2
>> Type "help", "copyright", "credits" or "license" for more information.
>>     
>
> This has been reported before, and IIRC, it's a problem with PyGTK.
>
> Ryan
>
>   

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


------------------------------------------------------------------------------
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to