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

Skip to content

Commit 9de9260

Browse files
committed
improve-matplotlibrc-tutorial: update introductory/customizing.py
make style.use() example consistent with path
1 parent d03fa01 commit 9de9260

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tutorials/introductory/customizing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
# good in a presentation, you can just add::
5252
#
5353
# >>> import matplotlib.pyplot as plt
54-
# >>> plt.style.use('../images/presentation.mplstyle')
54+
# >>> plt.style.use('./images/presentation.mplstyle')
5555
#
5656
# Alternatively, you can load your custom style sheet with a call to
5757
# ``style.use(<style-name>)`` by placing your ``<style-name>.mplstyle`` file

0 commit comments

Comments
 (0)