Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2e54167

Browse files
committed
add some comments to new RcParams class
svn path=/trunk/matplotlib/; revision=3553
1 parent 351475a commit 2e54167

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

lib/matplotlib/__init__.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -531,13 +531,14 @@ def matplotlib_fname():
531531
class RcParams(dict):
532532

533533
"""A dictionary object including validation
534+
535+
validating functions are defined and associated with rc parameters in
536+
rcsetup.py
534537
"""
535538

536539
validate = dict([ (key, converter) for key, (default, converter) in \
537540
defaultParams.iteritems() ])
538541

539-
fail_on_error = False
540-
541542
def __setitem__(self, key, val):
542543
try:
543544
if key in _deprecated_map.keys():

0 commit comments

Comments
 (0)