8000 Merge pull request #7100 from juanrg/v2.x · matplotlib/matplotlib@14363c3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 14363c3

Browse files
authored
Merge pull request #7100 from juanrg/v2.x
Doc: on how to set a custom directory for stylelib/
2 parents c91efe1 + 888a959 commit 14363c3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

doc/users/customizing.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,11 @@ path or URL to the style sheet. Additionally, if you add your
3232
your 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
3434
yours 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 MPLCONFIGDIR environment variable,
37+
see :ref:`locating-matplotlib-config-dir`.
38+
39+
Note that a custom style sheet in ``mpl_configdir/stylelib`` will
3640
override a style sheet defined by matplotlib if the styles have the same name.
3741

3842
For example, you might want to create

0 commit comments

Comments
 (0)
0