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

Skip to content

Commit 9b02ecd

Browse files
committed
cleanup: remove unused 'units' key from rcParams
1 parent 545044a commit 9b02ecd

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

lib/matplotlib/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -998,6 +998,5 @@ def test(verbosity=0):
998998
verbose.report('matplotlib version %s'%__version__)
999999
verbose.report('verbose.level %s'%verbose.level)
10001000
verbose.report('interactive is %s'%rcParams['interactive'])
1001-
verbose.report('units is %s'%rcParams['units'])
10021001
verbose.report('platform is %s'%sys.platform)
10031002
verbose.report('loaded modules: %s'%sys.modules.keys(), 'debug')

lib/matplotlib/rcsetup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,6 @@ def __call__(self, s):
338338
'backend_fallback' : [True, validate_bool], # agg is certainly present
339339
'toolbar' : ['toolbar2', validate_toolbar],
340340
'datapath' : [None, validate_path_exists], # handled by _get_data_path_cached
341-
'units' : [False, validate_bool],
342341
'interactive' : [False, validate_bool],
343342
'timezone' : ['UTC', str],
344343

0 commit comments

Comments
 (0)