|
53 | 53 | # >>> import matplotlib.pyplot as plt |
54 | 54 | # >>> plt.style.use('./images/presentation.mplstyle') |
55 | 55 | # |
56 | | -# Alternatively, you can load your custom style sheet with a call to |
57 | | -# ``style.use(<style-name>)`` by placing your ``<style-name>.mplstyle`` file |
58 | | -# into ``mpl_configdir/stylelib``. By default ``mpl_configdir`` should be |
| 56 | +# Alternatively, you can make your style known to Matplotlib by placing |
| 57 | +# your ``<style-name>.mplstyle`` file into ``mpl_configdir/stylelib``. You |
| 58 | +# can then load your custom style sheet with a call to |
| 59 | +# ``style.use(<style-name>)``. By default ``mpl_configdir`` should be |
59 | 60 | # ``~/.config/matplotlib``, but you can check where yours is with |
60 | | -# `matplotlib.get_configdir()`; you may need to create this directory. You also |
61 | | -# can change the directory where Matplotlib looks for the stylelib/ folder by |
62 | | -# setting the :envvar:`MPLCONFIGDIR` environment variable, see |
| 61 | +# `matplotlib.get_configdir()`; you may need to create this directory. You |
| 62 | +# also can change the directory where Matplotlib looks for the stylelib/ |
| 63 | +# folder by setting the :envvar:`MPLCONFIGDIR` environment variable, see |
63 | 64 | # :ref:`locating-matplotlib-config-dir`. |
64 | 65 | # |
65 | 66 | # Note that a custom style sheet in ``mpl_configdir/stylelib`` will override a |
|
69 | 70 | # ``mpl_configdir`` you can specify your style with:: |
70 | 71 | # |
71 | 72 | # >>> import matplotlib.pyplot as plt |
72 | | -# >>> plt.style.use('<style-name>') |
| 73 | +# >>> plt.style.use(<style-name>) |
73 | 74 | # |
74 | 75 | # |
75 | 76 | # Composing styles |
|
0 commit comments