8000 typo in usetex.py example · matplotlib/matplotlib@3ff5f0b · GitHub
[go: up one dir, main page]

Skip to content
< 8000 script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/85110-f7be2f54525a.js" defer="defer">

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)
0