Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 14363c3

Browse filesBrowse 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
Copy full SHA for 14363c3

File tree

Expand file treeCollapse file tree

1 file changed

+5
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-1
lines changed

‎doc/users/customizing.rst

Copy file name to clipboardExpand all lines: doc/users/customizing.rst
+5-1Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.