SourceForge logo
SourceForge logo
Menu

matplotlib-users

From: kaeguri <fay...@or...> - 2008年10月29日 12:59:07
Hi,
I am trying to get the fonts in the plots to be exactly like LaTeX would
give me in math mode using the \mathrm command.
So I set up the text to be in serif but still the font is too bold, I tried
to play with weight but I see no difference at all. In the following short
example http://www.nabble.com/file/p20226520/cdfii.py cdfii.py you will se
my probelm.
When running it in the legend I put in the second legend the word 'twist'
like I wish all my text would look like, I obtained it by cheating and using
within LaTeX math mode the \mathrm command, and after as you can see there
is the 'normal' word twist which appear too bold.
Where is the problem ?
Also I was thinking to use these kind of \mathrm cheats to fix it but when
using past functions I wrote for a previous matplotlib version it appear
that even the digits on the axis appear in a weird bold manner.
My question is the mthe following how can you force all text to look like
the font I want, is there a dedicated method or a brute force,... I would be
grateful to have anything !
Thanks
-- 
View this message in context: http://www.nabble.com/Cannot-get-non-bold-fonts-tp20226520p20226520.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /