From 6a5e00723c70d422e2605e7fe080d150b8b334ab Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Wed, 22 Jul 2020 02:06:50 -0400 Subject: [PATCH] Fix flipped paths in non-writable config dir warning. Fixes #18011. --- 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 45951d5ebb85..56ce243c7c70 100644 --- a/lib/matplotlib/__init__.py +++ b/lib/matplotlib/__init__.py @@ -480,7 +480,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