Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 914eb85 commit 74fc63dCopy full SHA for 74fc63d
CHANGELOG
@@ -1,3 +1,6 @@
1
+2010-08-01 Create directory specified by MPLCONFIGDIR if it does
2
+ not exist. - ADS
3
+
4
2010-07-20 Return Qt4's default cursor when leaving the canvas - DSD
5
6
2010-07-06 Tagging for mpl 1.0 at r8502
lib/matplotlib/__init__.py
@@ -456,6 +456,8 @@ def _get_configdir():
456
457
configdir = os.environ.get('MPLCONFIGDIR')
458
if configdir is not None:
459
+ if not os.path.exists(configdir):
460
+ os.makedirs(configdir)
461
if not _is_writable_dir(configdir):
462
raise RuntimeError('Could not write to MPLCONFIGDIR="%s"'%configdir)
463
return configdir
0 commit comments