On Sun, Aug 16, 2009 at 8:02 AM, Sebastian <basti...@gmail.com> wrote:
> Hi all,
> When I import pylab the locale settings are changed (I'm using
> matplotlib 0.99.0):
>
> In [1]: import locale
>
> In [2]: print locale.localeconv()
> {'mon_decimal_point': '', 'int_frac_digits': 127, 'p_sep_by_space': 127,
> 'frac_digits': 127, 'thousands_sep': '', 'n_sign_posn': 127,
> 'decimal_point': '.', 'int_curr_symbol': '', 'n_cs_precedes': 127,
> 'p_sign_posn': 127, 'mon_thousands_sep': '', 'negative_sign': '',
> 'currency_symbol': '', 'n_sep_by_space': 127, 'mon_grouping': [],
> 'p_cs_precedes': 127, 'positive_sign': '', 'grouping': []}
>
> In [3]: import pylab
>
> In [4]: print locale.localeconv()
> {'mon_decimal_point': ',', 'int_frac_digits': 2, 'p_sep_by_space': 1,
> 'frac_digits': 2, 'thousands_sep': '', 'n_sign_posn': 1,
> 'decimal_point': ',', 'int_curr_symbol': 'EUR ', 'n_cs_precedes': 1,
> 'p_sign_posn': 1, 'mon_thousands_sep': ' ', 'negative_sign': '-',
> 'currency_symbol': '\xe2\x82\xac', 'n_sep_by_space': 1, 'mon_grouping':
> [3, 3, 0], 'p_cs_precedes': 1, 'positive_sign': '', 'grouping': []}
>
>
>
> Is this a bug or a feature?
>
> For me it broke some code in a c-extension which parses a file with
> floating point numbers and didn't recognize them anymore:(
What backend are you using? IIRC, gtk has been behind this in the past.
Ryan
--
Ryan May
Graduate Research Assistant
School of Meteorology
University of Oklahoma
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users