From baf1580a3e4b54e1be5276790b7aa1186e3634c2 Mon Sep 17 00:00:00 2001 From: DaCoEx Date: Fri, 4 Mar 2016 12:02:43 +0100 Subject: [PATCH] added comment on "usetex=False" to ainde debugging when latex not available see: https://github.com/matplotlib/matplotlib/issues/6104#issuecomment-191954706 reformatted comment --- examples/pylab_examples/multipage_pdf.py | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/pylab_examples/multipage_pdf.py b/examples/pylab_examples/multipage_pdf.py index c32b73bee3e..d6f58f330f9 100644 --- a/examples/pylab_examples/multipage_pdf.py +++ b/examples/pylab_examples/multipage_pdf.py @@ -18,6 +18,7 @@ pdf.savefig() # saves the current figure into a pdf page plt.close() + # if LaTeX is not installed or error caught, change to `usetex=False` plt.rc('text', usetex=True) plt.figure(figsize=(8, 6)) x = np.arange(0, 5, 0.1)