Skip to content

Commit 2748834

Browse files
committed
Do not add default matplotlib font, but rely on the default LaTeX font.
1 parent 68d6b79 commit 2748834

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

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)