File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change 77
77
figure is created, because it is not possible to switch between
78
78
different GUI backends after that.
79
79
80
+ The following environment variables can be used to customize the behavior::
81
+
82
+ .. envvar:: MPLBACKEND
83
+
84
+ This optional variable can be set to choose the Matplotlib backend. See
85
+ :ref:`what-is-a-backend`.
86
+
87
+ .. envvar:: MPLCONFIGDIR
88
+
89
+ This is the directory used to store user customizations to
90
+ Matplotlib, as well as some caches to improve performance. If
91
+ :envvar:`MPLCONFIGDIR` is not defined, :file:`{HOME}/.config/matplotlib`
92
+ and :file:`{HOME}/.cache/matplotlib` are used on Linux, and
93
+ :file:`{HOME}/.matplotlib` on other platforms, if they are
94
+ writable. Otherwise, the Python standard library's `tempfile.gettempdir`
95
+ is used to find a base directory in which the :file:`matplotlib`
96
+ subdirectory is created.
97
+
80
98
Matplotlib was initially written by John D. Hunter (1968-2012) and is now
81
99
developed and maintained by a host of others.
82
100
You can’t perform that action at this time.
0 commit comments