Revision: 7157
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=7157&view=rev
Author:   mdboom
Date:     2009-05-28 16:49:17 +0000 (Thu, 28 May 2009)

Log Message:
-----------
Handle overrightarrow and overleftarrow in mathtext like accents.

Modified Paths:
--------------
    trunk/matplotlib/lib/matplotlib/mathtext.py

Modified: trunk/matplotlib/lib/matplotlib/mathtext.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/mathtext.py 2009-05-28 16:30:12 UTC (rev 
7156)
+++ trunk/matplotlib/lib/matplotlib/mathtext.py 2009-05-28 16:49:17 UTC (rev 
7157)
@@ -2445,7 +2445,9 @@
         r"'"     : r'\combiningacuteaccent',
         r'~'     : r'\combiningtilde',
         r'.'     : r'\combiningdotabove',
-        r'^'     : r'\circumflexaccent'
+        r'^'     : r'\circumflexaccent',
+        r'overrightarrow' : r'\rightarrow',
+        r'overleftarrow'  : r'\leftarrow'
         }
 
     _wide_accents = set(r"widehat widetilde".split())


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to