|
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. |
| 80 | +The following environment variables can be used to customize the behavior: |
| 81 | +
|
| 82 | + :envvar:`MPLBACKEND` |
| 83 | + This optional variable can be set to choose the Matplotlib backend. See |
| 84 | + :ref:`what-is-a-backend`. |
| 85 | +
|
| 86 | + :envvar:`MPLCONFIGDIR` |
| 87 | + This is the directory used to store user customizations to |
| 88 | + Matplotlib, as well as some caches to improve performance. If |
| 89 | + :envvar:`MPLCONFIGDIR` is not defined, :file:`{HOME}/.config/matplotlib` |
| 90 | + and :file:`{HOME}/.cache/matplotlib` are used on Linux, and |
| 91 | + :file:`{HOME}/.matplotlib` on other platforms, if they are |
| 92 | + writable. Otherwise, the Python standard library's `tempfile.gettempdir` |
| 93 | + is used to find a base directory in which the :file:`matplotlib` |
| 94 | + subdirectory is created. |
97 | 95 |
|
98 | 96 | Matplotlib was initially written by John D. Hunter (1968-2012) and is now
|
99 | 97 | developed and maintained by a host of others.
|
|
0 commit comments