Hello,
I recently updated matplotlib using macports, and it broke my plotting
functions which plot date-value plots.
The reason was that my locale.getpreferredencoding() returned empty string
in
cbook.py.
changing the code to the following solved my problem
# On some systems, locale.getpreferredencoding returns None,
# which can break unicode; and the sage project reports that
# some systems have incorrect locale specifications, e.g.,
# an encoding instead of a valid locale name.
try:
preferredencoding = locale.getpreferredencoding()
if preferredencoding.strip() == '':
raise ValueError
except ValueError:
preferredencoding = None
except ImportError:
preferredencoding = None
sorry for disturbing you
--
Huziy Oleksandr
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel