Re: [Matplotlib-users] SVG backend fails with locale change

2008-08-26 Thread Mathieu Leplatre
On Mon, Aug 25, 2008 at 7:17 PM, Michael Droettboom <[EMAIL PROTECTED]> wrote: > Thanks for spotting this. I don't think a lot of us ever use non-English > locales, so that's fallen through the cracks. > > backend_svg.py was using '%s' to convert floats, to limit the number of > digits written to

Re: [Matplotlib-users] SVG backend fails with locale change

2008-08-25 Thread Michael Droettboom
Thanks for spotting this. I don't think a lot of us ever use non-English locales, so that's fallen through the cracks. backend_svg.py was using '%s' to convert floats, to limit the number of digits written to the file. This works fine with regular floats (since they do not follow the locale u

[Matplotlib-users] SVG backend fails with locale change

2008-08-25 Thread Mathieu Leplatre
Hi, If I change the locale using cairo backend, the result is fine. But with SVG backend, every objects collapse on top-left corner. As you can see here : http://mathieu-leplatre.info/media/matplotlib-svg/localechange-svg.svg I exported it to png with inkscape to reveal objects outside of frame