File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,7 +32,11 @@ path or URL to the style sheet. Additionally, if you add your
3232your custom style sheet with a call to ``style.use(<style-name>) ``. By default
3333``mpl_configdir `` should be ``~/.config/matplotlib ``, but you can check where
3434yours is with ``matplotlib.get_configdir() ``; you may need to create this
35- directory. Note that a custom style sheet in ``mpl_configdir/stylelib `` will
35+ directory. You also can change the directory where matplotlib looks for
36+ the stylelib/ folder by setting the MPLCONFIG environment variable
37+ , see :ref: `locating-matplotlib-config-dir `.
38+
39+ Note that a custom style sheet in ``mpl_configdir/stylelib `` will
3640override a style sheet defined by matplotlib if the styles have the same name.
3741
3842For example, you might want to create
@@ -131,7 +135,7 @@ locations, in the following order:
1311351. :file: `matplotlibrc ` in the current working directory, usually used for
132136 specific customizations that you do not want to apply elsewhere.
133137
134- 2. :file: `$MATPLOTLIBRC/matplotlibrc `.
138+ 2. :file: `$MATPLOTLIBRC ` if it is a file, else :file: ` $MATPLOTLIBRC /matplotlibrc `.
135139
1361403. It next looks in a user-specific place, depending on your platform:
137141
You can’t perform that action at this time.
0 commit comments