File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,7 +6,8 @@ Customizing plots with style sheets
66
77
88The ``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).
1011
1112There are a number of pre-defined styles provided by matplotlib. For
1213example, 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
2829path or URL to the style sheet. Alternatively, if you add your ``<style-name>.mplstyle ``
2930file to ``mpl_configdir/stylelib ``, you can reuse your custom style sheet with a call to
3031``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 ``
3334will override a style sheet defined by matplotlib if the styles have the same name.
3435
3536For example, you might want to create
You can’t perform that action at this time.
0 commit comments