Skip to content

Commit

Permalink
add some comments to new RcParams class
Browse files Browse the repository at this point in the history
svn path=/trunk/matplotlib/; revision=3553
  • Loading branch information
ddale committed Jul 17, 2007
1 parent 351475a commit 2e54167
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/matplotlib/__init__.py
Expand Up @@ -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():
Expand Down

0 comments on commit 2e54167

Please sign in to comment.