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

Skip to content

Commit 6a5e007

Browse files
committed
Fix flipped paths in non-writable config dir warning.
Fixes #18011.
1 parent 019a752 commit 6a5e007

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ def _get_config_or_cache_dir(xdg_base):
480480
"recommended to set the MPLCONFIGDIR environment variable to a "
481481
"writable directory, in particular to speed up the import of "
482482
"Matplotlib and to better support multiprocessing.",
483-
configdir, tmpdir)
483+
tmpdir, configdir)
484484
return tmpdir
485485

486486

0 commit comments

Comments
 (0)