On Monday 04 September 2006 14:28, Nicolas Bigaouette wrote:
> What is causing this? Did something changed that I need to adapt my code
> or is it a bug?
Check the "aspect" keyword of your image, and try to set it to 'auto'.
> Clearly, matplotlib's SVG backend doesn't seems to support TeX
> characters. Is it supposed to?
> Is it possible to hope it will?
From: John Hunter <jdhunter@ac...> - 2006-09-04 19:56:55
>>>>> "Nicolas" == Nicolas Bigaouette <nbigaouette@...> writes:
Nicolas> Clearly, matplotlib's SVG backend doesn't seems to
Nicolas> support TeX characters. Is it supposed to?
It does -- the only trick is you need to make sure your svg viewer can
see the fonts. Currently we use the bakoma cm*.ttf fonts that ship
with matplotlib, so make sure these fonts are in your svg viewer's
font path. In postscript, we embed the truetype fonts directly into
the PS file which makes for large output files but helps portability
across ps viewers. We were unable to figure out how to do this with
Nicolas> Is it possible to hope it will?
One can always hope :-)