@@ -50,13 +50,15 @@ matplotlib uses :file:`matplotlibrc` configuration files to customize all kinds
50
50
of properties, which we call `rc settings ` or `rc parameters `. You can control
51
51
the defaults of almost every property in matplotlib: figure size and dpi, line
52
52
width, color and style, axes, axis and grid properties, text and font
53
- properties and so on. matplotlib looks for :file: `matplotlibrc ` in three
53
+ properties and so on. matplotlib looks for :file: `matplotlibrc ` in four
54
54
locations, in the following order:
55
55
56
56
1. :file: `matplotlibrc ` in the current working directory, usually used for
57
57
specific customizations that you do not want to apply elsewhere.
58
58
59
- 2. It next looks in a user-specific place, depending on your platform:
59
+ 2. :file: `$MATPLOTLIBRC ` if it is a file, else :file: `$MATPLOTLIBRC/matplotlibrc `.
60
+
61
+ 3. It next looks in a user-specific place, depending on your platform:
60
62
61
63
- On Linux, it looks in :file: `.config/matplotlib/matplotlibrc ` (or
62
64
`$XDG_CONFIG_HOME/matplotlib/matplotlibrc `) if you've customized
@@ -66,7 +68,7 @@ locations, in the following order:
66
68
67
69
See :ref: `locating-matplotlib-config-dir `.
68
70
69
- 3 . :file: `{ INSTALL } /matplotlib/mpl-data/matplotlibrc `, where
71
+ 4 . :file: `{ INSTALL } /matplotlib/mpl-data/matplotlibrc `, where
70
72
:file: `{ INSTALL } ` is something like
71
73
:file: `/usr/lib/python2.5/site-packages ` on Linux, and maybe
72
74
:file: `C:\\ Python25\\ Lib\\ site-packages ` on Windows. Every time you
0 commit comments