def rc_params(fail_on_error=False):
 fname = matplotlib_fname()
 if (not os.path.exists(fname)):
  message = u'could not find rc file; returning defaults'
  ret = RcParams([(key, default) for (key, (default, _)) in six.iteritems(defaultParams) if (key not in _all_deprecated)])
  warnings.warn(message)
  return ret
 return rc_params_from_file(fname, fail_on_error)

def rc_params ( fail_on_error = False ) : fname = matplotlib_fname ( ) if ( not os . path . exists ( fname ) ) : message = u'could not find rc file; returning defaults' ret = RcParams ( [ ( key , default ) for ( key , ( default , _ ) ) in six . iteritems ( defaultParams ) if ( key not in _all_deprecated ) ] ) warnings . warn ( message ) return ret return rc_params_from_file ( fname , fail_on_error )
return a :class:matplotlib .