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.
2 parents 1cf1ab1 + 30e8580 commit 0ed216fCopy full SHA for 0ed216f
lib/matplotlib/__init__.py
@@ -582,8 +582,8 @@ def _get_config_or_cache_dir(xdg_base):
582
583
configdir = os.environ.get('MPLCONFIGDIR')
584
if configdir is not None:
585
+ configdir = os.path.abspath(configdir)
586
if not os.path.exists(configdir):
- from matplotlib.cbook import mkdirs
587
mkdirs(configdir)
588
589
if not _is_writable_dir(configdir):
0 commit comments