|
From: Paul H. <pmh...@gm...> - 2013-01-10 04:59:27
|
Sounds like it might have something to do with your Latex installation (if any) or the barebones Latex-rendering done by MPL alone. Namely, they simply don't have the characters for mathematical Arial available. Not too sure though. Hopefully someone more knowledgeable responds. -paul On Tue, Jan 8, 2013 at 9:31 PM, CAB <ca...@ya...> wrote: > Hi, All, > > I am encountering a thorny problem when trying to run matplotlib under > Windows 8. If I label an axis using a command like > > ax.set_ylabel(r'time (s)', name='Arial'), > > all is well. But if try to add mathtext to that, as in > > ax.set_ylabel(r'time ($s$)', name='Arial'), > > mathtext.py throws an error (a very long stream) ending in "RuntimeError: > Face has no glyph names". If I remove the "name='Arial'" above and let the > program default to Bitstream Vera Sans, the mathtext works. > > This problem does not occur under Windows 7 or XP; only under two > different Windows 8 installations. Any ideas what's going on? > > Chad > > > ------------------------------------------------------------------------------ > Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery > and much more. Keep your Java skills current with LearnJavaNow - > 200+ hours of step-by-step video tutorials by Java experts. > SALE $49.99 this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122612 > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > |