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

Skip to content

Commit 8021af3

Browse files
committed
Updated example to actually use PGF.
1 parent 68d6b79 commit 8021af3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/userdemo/pgf_fonts.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
66
"""
77

8+
import matplotlib as mpl
89
import matplotlib.pyplot as plt
10+
mpl.use("pgf")
911
plt.rcParams.update({
1012
"font.family": "serif",
1113
# Use LaTeX default serif font.

0 commit comments

Comments
 (0)