|
From: <md...@us...> - 2007-08-08 18:48:54
|
Revision: 3688
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=3688&view=rev
Author: mdboom
Date: 2007-08-08 11:48:49 -0700 (Wed, 08 Aug 2007)
Log Message:
-----------
Fix mathtext_demo to use markup="tex" kwarg.
Modified Paths:
--------------
trunk/matplotlib/examples/mathtext_demo.py
Modified: trunk/matplotlib/examples/mathtext_demo.py
===================================================================
--- trunk/matplotlib/examples/mathtext_demo.py 2007-08-08 17:41:30 UTC (rev 3687)
+++ trunk/matplotlib/examples/mathtext_demo.py 2007-08-08 18:48:49 UTC (rev 3688)
@@ -13,8 +13,8 @@
x = npy.arange(0.0, 3.0, 0.1)
ax.grid(True)
-ax.set_xlabel(r'$\Delta_i^j$', fontsize=20)
-ax.set_ylabel(r'$\Delta_{i+1}^j$', fontsize=20)
+ax.set_xlabel(r'$\Delta_i^j$', fontsize=20, markup="tex")
+ax.set_ylabel(r'$\Delta_{i+1}^j$', fontsize=20, markup="tex")
tex = r'$\mathcal{R}\prod_{i=\alpha_{i+1}}^\infty a_i\sin(2 \pi f x_i)$'
ax.text(1, 1.6, tex, fontsize=20, va='bottom', markup="tex")
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|