I just want to double check before I commit this. We offer
> a font.size rc setting, and users can modify that size by
> setting fontsize='medium' or 'large', etc. However,
> font.size does not globally set the default font size, to
> axis labels, ticklabels, etc, they remain 12pt as
> default. Should this be changed? If so, the change is
> simple: from this: def __init__(self, size=12.0,
> weight='normal'): to this: def __init__(self,
> size=rcParams['font.size'], weight='normal'):
If you want to use rc defaults for kwargs, you do not want to use them
in the function definition, because then they will be set a module
load time and the defaults cannot be changed dynamically. Rather, you
want to use this idiom (eg lines.py)
def __init__(self, xdata, ydata,
linewidth = None, # all Nones default to rc
...):
if linewidth is None : linewidth=rcParams['lines.linewidth']
Then if the user changes the rc param value, the constructor default
changes too.
JDH