From: David K. <Dav...@ir...> - 2008-07-15 13:22:24
|
Hi, I guess the problem was mostly mine. To my eyes, the Bitstream Vera Serif doesn't look very "serif" to me (figure attached), but I am probably just not used to that font. Changing font.serif as suggested produced much more similar output. Thanks and sorry for the unnecessary confusion. However, this brought me to another strange problem. When I added a matplotlibrc file to ~/.matplotlib/ and ran ipython -pylab, none of my graphic screens appear (i.e., figure() produces no visible window). Plotting works and I can save figures, but they just are not visible. It makes no difference what is in the matplotlibrc, an empty file produces the same result as a file with directives in it. Removing matplotlibrc allows me to see the plot window. Does this make any sense? Just in case it matters, I am currently using the svn trunk of matplotlib. Cheers, David On Tue, 2008-07-15 at 08:06 -0400, Michael Droettboom wrote: > I thought you said the normal text looked sans-serif. The debugging > output seems to suggest otherwise. Maybe you can send me the generated > plot as well. > > The default serif font, Bitstream Vera Serif, is not an identical match > to the STIX fonts. The STIX fonts are designed to match Times. If you > have Times (or Times New Roman) installed on your system you can set > "font.serif" to "Times" in your matplotlibrc. That may help the fonts > match better. > > Cheers, > Mike > > David Kaplan wrote: > > Hi, > > > > The output from using debug-annoying is attached. It all looks > > relatively normal to me, but perhaps you will see something I don't. I > > am thinking that the problem is the difference between Bitstream Serif > > and the STIX fonts - they are just different. Perhaps you can suggest a > > way to change say the fontfamilies that will make them agree. > > > > Thanks, > > David > > > > > > > > > -- ********************************** David M. Kaplan Charge de Recherche 1 Institut de Recherche pour le Developpement Centre de Recherche Halieutique Mediterraneenne et Tropicale av. Jean Monnet B.P. 171 34203 Sete cedex France Phone: +33 (0)4 99 57 32 27 Fax: +33 (0)4 99 57 32 95 http://www.ur097.ird.fr/team/dkaplan/index.html ********************************** |