From be996c18543b4664fed33e41b7f71dd962cdcc4d Mon Sep 17 00:00:00 2001 From: Jody Klymak Date: Wed, 22 Jul 2020 10:54:02 -0700 Subject: [PATCH] Backport PR #18014: Fix flipped paths in non-writable config dir warning. --- lib/matplotlib/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/matplotlib/__init__.py b/lib/matplotlib/__init__.py index c425fe818f58..4e9e02c4b778 100644 --- a/lib/matplotlib/__init__.py +++ b/lib/matplotlib/__init__.py @@ -479,7 +479,7 @@ def _get_config_or_cache_dir(xdg_base): "recommended to set the MPLCONFIGDIR environment variable to a " "writable directory, in particular to speed up the import of " "Matplotlib and to better support multiprocessing.", - configdir, tmpdir) + tmpdir, configdir) return tmpdir