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 e661a02 + 87d79a1 commit 50a7e18Copy full SHA for 50a7e18
1 file changed
lib/matplotlib/__init__.py
@@ -599,8 +599,8 @@ def _get_config_or_cache_dir(xdg_base):
599
600
configdir = os.environ.get('MPLCONFIGDIR')
601
if configdir is not None:
602
+ configdir = os.path.abspath(configdir)
603
if not os.path.exists(configdir):
- from matplotlib.cbook import mkdirs
604
mkdirs(configdir)
605
606
if not _is_writable_dir(configdir):
0 commit comments