Skip to content

Commit 2334d21

Browse files
committed
clarify MPLCONFIGDIR for different platforms
1 parent 8846e10 commit 2334d21

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

doc/faq/environment_variables_faq.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,11 @@ Environment Variables
2525

2626
This is the directory used to store user customizations to matplotlib, as
2727
well as some caches to improve performance. If :envvar:`MPLCONFIGDIR` is not
28-
defined, :file:`{HOME}/.matplotlib` is used if it is writable.
29-
Otherwise, the python standard library :func:`tempfile.gettmpdir` is
30-
used to find a base directory in which the :file:`matplotlib`
31-
subdirectory is created.
28+
defined, :file:`{HOME}/.config/matplotlib` is generally used on unix-like
29+
systems and :file:`{HOME}/.matplotlib` is used on other platforms, if they are
30+
writable. Otherwise, the python standard library :func:`tempfile.gettmpdir`
31+
is used to find a base directory in which the :file:`matplotlib` subdirectory
32+
is created.
3233

3334
.. envvar:: MPLBACKEND
3435

0 commit comments

Comments
 (0)