Skip to content

Commit c5047c3

Browse files
committed
DOC: add missing imports in docs
Ensure that the style module is imported
1 parent cb7b60f commit c5047c3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/users/dflt_style_changes.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ values is a single line of python
1313

1414
.. code::
1515
16+
import matplotlib.style
17+
import matplotlib as mpl
1618
mpl.style.use('classic')
1719
1820
See :ref:`customizing-with-matplotlibrc-files` for details about how to

0 commit comments

Comments
 (0)