def rc(group, **kwargs):
 aliases = {u'lw': u'linewidth', u'ls': u'linestyle', u'c': u'color', u'fc': u'facecolor', u'ec': u'edgecolor', u'mew': u'markeredgewidth', u'aa': u'antialiased'}
 if is_string_like(group):
  group = (group,)
 for g in group:
  for (k, v) in six.iteritems(kwargs):
   name = (aliases.get(k) or k)
   key = (u'%s.%s' % (g, name))
   try:
    rcParams[key] = v
   except KeyError:
    raise KeyError((u'Unrecognized key "%s" for group "%s" and name "%s"' % (key, g, name)))

def rc ( group , ** kwargs ) : aliases = { u'lw' : u'linewidth' , u'ls' : u'linestyle' , u'c' : u'color' , u'fc' : u'facecolor' , u'ec' : u'edgecolor' , u'mew' : u'markeredgewidth' , u'aa' : u'antialiased' } if is_string_like ( group ) : group = ( group , ) for g in group : for ( k , v ) in six . iteritems ( kwargs ) : name = ( aliases . get ( k ) or k ) key = ( u'%s.%s' % ( g , name ) ) try : rcParams [ key ] = v except KeyError : raise KeyError ( ( u'Unrecognized key "%s" for group "%s" and name "%s"' % ( key , g , name ) ) )
set the current rc params .