From 2e541679b6cd98586c1b0d9b3861b4544b3239ee Mon Sep 17 00:00:00 2001 From: Darren Dale Date: Tue, 17 Jul 2007 16:37:14 +0000 Subject: [PATCH] add some comments to new RcParams class svn path=/trunk/matplotlib/; revision=3553 --- lib/matplotlib/__init__.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/matplotlib/__init__.py b/lib/matplotlib/__init__.py index 13c924b9f99d..0e21f04d7e5e 100644 --- a/lib/matplotlib/__init__.py +++ b/lib/matplotlib/__init__.py @@ -531,13 +531,14 @@ def matplotlib_fname(): class RcParams(dict): """A dictionary object including validation + + validating functions are defined and associated with rc parameters in + rcsetup.py """ validate = dict([ (key, converter) for key, (default, converter) in \ defaultParams.iteritems() ]) - fail_on_error = False - def __setitem__(self, key, val): try: if key in _deprecated_map.keys():