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
|