From: Paul K. <pki...@ni...> - 2008-04-26 03:37:48
|
On Thu, Apr 24, 2008 at 08:38:02AM -0400, Michael Droettboom wrote: > Paul Kienzle wrote: > > Hi, > > > > The superscripts in mpl don't seem to be placed at the correct height for > > small fonts. The y-tics on the attached plot shows this. The effect is > > similar in svg and pdf backends. > > > Thanks. When looking up the x-height, the code was not taking the font > size into account. This has been fixed on the branch and trunk. Thanks. It looks much better in png, but pdf has the subscript raised much higher, and svg isn't rendering fonts at all (see attached). > > I'm using 0.91.2 because the latest svn version gives me a KeyError for > > ufunc isfinite. > > > Can you provide the full traceback here so we can diagnose and fix this > problem? The only reference to isfinite seems to be in the PDF backend, > which is working for me, and is identical in 0.91.2 and trunk in that > respect. There is probably a more complex Numpy version interaction > going on. I recompiled with Numpy 1.1 and the problem went away. I'm going to ignore the issue for now. - Paul |