Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit af43173

Browse files
committed
Improve config and cache dir documentation wording
Improved and corrected wording in response to @WeatherGod comments on commit rsnape/matplotlib@991d321
1 parent 991d321 commit af43173

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

doc/faq/troubleshooting_faq.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ and printing the ``__file__`` attribute::
3434

3535
.. _locating-matplotlib-config-dir:
3636

37-
:file:`.matplotlib` and `.cache` directory location
38-
===================================================
37+
:file:`matplotlib` configuration and cache directory locations
38+
==============================================================
3939

4040
Each user has a matplotlib configuration directory which may contain a
4141
:ref:`matplotlibrc <customizing-with-matplotlibrc-files>` file. To
@@ -50,15 +50,16 @@ On unix-like systems, this directory is generally located in your
5050
:envvar:`HOME` directory under the :file:`.config/` directory.
5151

5252
In addition, users have a cache directory. On unix-like systems, this is
53-
separate to the configuration directory by default. To locate your
53+
separate from the configuration directory by default. To locate your
5454
:file:`.cache/` directory, use :func:`matplotlib.get_cachedir`::
5555

5656
>>> import matplotlib as mpl
5757
>>> mpl.get_cachedir()
5858
'/home/darren/.cache/matplotlib'
5959
6060
On windows, both the config directory and the cache directory are
61-
the same and are in your documents and settings directory by default::
61+
the same and are in your :file:`Documents and Settings` or :file:`Users`
62+
directory by default::
6263

6364
>>> import matplotlib
6465
>>> mpl.get_configdir()

0 commit comments

Comments
 (0)