File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,8 @@ Customizing plots with style sheets
6
6
7
7
8
8
The ``style `` package adds support for easy-to-switch plotting "styles" with
9
- the same parameters as a matplotlibrc _ file.
9
+ the same parameters as a matplotlibrc _ file (which is read at startup to
10
+ configure matplotlib).
10
11
11
12
There are a number of pre-defined styles provided by matplotlib. For
12
13
example, there's a pre-defined style called "ggplot", which emulates the
@@ -28,8 +29,8 @@ You can create custom styles and use them by calling ``style.use`` with the
28
29
path or URL to the style sheet. Alternatively, if you add your ``<style-name>.mplstyle ``
29
30
file to ``mpl_configdir/stylelib ``, you can reuse your custom style sheet with a call to
30
31
``style.use(<style-name>) ``. By default ``mpl_configdir `` should be ``~/.config/matplotlib ``,
31
- but you can check where yours is with ``matplotlib.get_configdir() ``, you may need to
32
- create this directory. Note that a custom style sheet in ``mpl_configdir/stylelib ``
32
+ but you can check where yours is with ``matplotlib.get_configdir() ``. (You may need to
33
+ create this directory.) Note that a custom style sheet in ``mpl_configdir/stylelib ``
33
34
will override a style sheet defined by matplotlib if the styles have the same name.
34
35
35
36
For example, you might want to create
You can’t perform that action at this time.
0 commit comments