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

Skip to content

Commit 3ff5f0b

Browse files
authored
typo in usetex.py example
replace: import matplotlib as mpl with: import matplotlib.pyplot as plt
1 parent 7e95303 commit 3ff5f0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tutorials/text/usetex.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
To use LaTeX and select Helvetica as the default font, without editing
4646
matplotlibrc use::
4747
48-
import matplotlib as mpl
48+
import matplotlib.pyplot as plt
4949
plt.rcParams.update({
5050
"text.usetex": True,
5151
"font.family": "sans-serif",

0 commit comments

Comments
 (0)