Re: [Matplotlib-users] Issue with sample from website and rc()

2010-02-24 Thread Matthieu Brucher
Indeed, with a fixed value, I could bypass this, but the main issue is that the documentation says that it should work (xx-small, x-small, small, medium, large, ... although I don't know if it should be larger, as indicated in rc() doc, or large as indicated in the font size doc IIRC). Matthieu 2

Re: [Matplotlib-users] Issue with sample from website and rc()

2010-02-24 Thread Philipp Bender
The error is the 'size':'larger', not the passing as keyword arguments. Maybe you try to stick (as "workaround") with a fixed number, like 'size':12 It's located in matplotlib/lib/matplotlib/rcsetup.py def validate_float(s): 'convert s to float or raise' try: return float(s) except

[Matplotlib-users] Issue with sample from website and rc()

2010-02-24 Thread Matthieu Brucher
Hi, I've tried to set the size of the main font by doing: import matplotlib.pyplot as pyplot font = {'size' : 'larger'} pyplot.rc('font', **font) as indicated in http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.rc It failed with: raise ValueError('Could not convert