]> gitweb.michael.orlitzky.com - sage.d.git/commitdiff
Enable text.usetex for Matplotlib to work around trac #13543.
authorMichael Orlitzky <michael@orlitzky.com>
Sat, 20 Oct 2012 01:57:20 +0000 (21:57 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Sat, 20 Oct 2012 01:57:20 +0000 (21:57 -0400)
init.sage

index e46be981f1b6264e36df368b4302df1e388ec925..92fb1ee15ac70166d496764c0593d3d186b19a74 100644 (file)
--- a/init.sage
+++ b/init.sage
@@ -6,3 +6,10 @@ sitedir = os.path.expanduser('~/src/sage')
 site.addsitedir(sitedir)
 
 from mjo.all import *
+
+# I have a real LaTeX installation. Use it to avoid trac #13543:
+#
+#   http://trac.sagemath.org/sage_trac/ticket/13543
+#
+from matplotlib import rcParams
+rcParams['text.usetex'] = True