SourceForge logo
SourceForge logo
Menu

Re: [matplotlib-devel] relative font sizes

From: Michael D. <md...@st...> - 2007年09月20日 12:32:29
This seems to be related to the change to pickle cache the entire 
FontManager class. If you delete ~/.matplotlibrc/fontManager.cache, the 
font.size setting takes effect.
I made a small change in r3861 that should fix this problem.
Cheers,
Mike
Darren Dale wrote:
> It appears that relative font sizing is broken in svn. It used to be possible 
> to do this:
> 
> from matplotlib import rcParams
> rcParams['font.size']=6
> rcParams['xtick.labelsize']='small'
> import pylab
> pylab.plot([1,2])
> pylab.text(0.1, 1.75, 'look how small I am compared to the ticks')
> pylab.show()
> 
> and any of the various text sizes like ticklabels, axis labels, titles, etc, 
> would be sized relative to font.size. It looks like relative sizes are no 
> longer scaled to font.size, but some fixed value. Does anyone know what has 
> changed?
> 
> Thanks,
> Darren
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
-- 
Michael Droettboom
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA

View entire thread

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 によって変換されたページ (->オリジナル) /