Bug in rc() ?

Hi all,

     rc('l',lw=1,mew=0,markersize=1)

gives:

      29 # save state (John, is there a cleaner way to do this?)
      30 rcsave = rcParams.copy()
---> 31 rc('l',lw=1,mew=0,markersize=1)
      32 ax.plot(x,y,marker)
      33 rcParams.update(rcsave)

/usr/lib/python2.3/site-packages/matplotlib/pylab.py in rc(*args, **kwargs)
     946
     947 def rc(*args, **kwargs):
--> 948 matplotlib.rc(*args, **kwargs)
     949 if matplotlib.rc.__doc__ is not None:
     950 rc.__doc__ = matplotlib.rc.__doc__

/usr/lib/python2.3/site-packages/matplotlib/__init__.py in rc(group, **kwargs)
     762 key = '%s.%s' % (group, name)
     763 if not rcParams.has_key(key):
--> 764 raise KeyError('Unrecognized key "%s" for group "%s" and name "%s"' %
     765 (key, group, name))
     766

KeyError: 'Unrecognized key "l.linewidth" for group "l" and name "linewidth"'

If I change 'l' to 'lines', it works. But the docs for rc() say that 'l' is a valid alias for lines.

Cheers,

f