I want to change the fontsize used for my legends.
Analogues to the 'title', 'figtext', 'xlabel' and 'ylabel' commands, it
would have been nice to write:
Unfortunately this is not (yet) implemented...
Can I make a RFC for this feature to be added...?
And the same for the 'axis' command, e.g. 'axis([...],fontsize=10)',
would also be a nice addition to mpl.
Back to the fontsize issue:
def __init__(self, parent, handles, labels, loc,
numpoints = 4, # the number of points in the
prop = FontProperties(size='smaller'),
pad = 0.2, # the fractional whitespace inside
the legend border
markerscale = 0.6, # the relative size of legend
markers vs. original
# the following dimensions are in axes coords
labelsep = 0.005, # the vertical space between the
handlelen = 0.05, # the length of the legend lines
handletextsep = 0.02, # the space between the legend
line and legend text
axespad = 0.02, # the border between the axes and
The font is defined as 'smaller', but 'smaller' than what...?
It is not affected (imho) by either of the following settings in my
font.size : 12
axes.labelsize : 16
tick.labelsize : 10