You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Return the string representing the configuration dir.
472
+
Return the string representing the configuration dir.
473
473
474
474
default is HOME/.matplotlib. you can override this with the
475
475
MPLCONFIGDIR environment variable
@@ -480,10 +480,10 @@ def _get_configdir():
480
480
ifnot_is_writable_dir(configdir):
481
481
raiseRuntimeError('Could not write to MPLCONFIGDIR="%s"'%configdir)
482
482
returnconfigdir
483
-
483
+
484
484
h=get_home()
485
485
p=os.path.join(get_home(), '.matplotlib')
486
-
486
+
487
487
ifos.path.exists(p):
488
488
ifnot_is_writable_dir(p):
489
489
raiseRuntimeError("'%s' is not a writable dir; you must set %s/.matplotlib to be a writable dir. You can also set environment variable MPLCONFIGDIR to any writable directory where you want matplotlib data stored "%h)
0 commit comments