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

Skip to content

Commit c62f88f

Browse files
committed
Merge pull request #6119 from dacoex/pdfmulti_tex2
DOC: add note about usetex to pdf demo
2 parents 85089a1 + baf1580 commit c62f88f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/pylab_examples/multipage_pdf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
pdf.savefig() # saves the current figure into a pdf page
1919
plt.close()
2020

21+
# if LaTeX is not installed or error caught, change to `usetex=False`
2122
plt.rc('text', usetex=True)
2223
plt.figure(figsize=(8, 6))
2324
x = np.arange(0, 5, 0.1)

0 commit comments

Comments
 (0)