Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8488f93

Browse files
committed
Minor text cleanup.
1 parent fef412e commit 8488f93

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

doc/users/style_sheets.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ Customizing plots with style sheets
66

77

88
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).
1011

1112
There are a number of pre-defined styles provided by matplotlib. For
1213
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
2829
path or URL to the style sheet. Alternatively, if you add your ``<style-name>.mplstyle``
2930
file 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``
3334
will override a style sheet defined by matplotlib if the styles have the same name.
3435

3536
For example, you might want to create

0 commit comments

Comments
 (0)