From: <md...@us...> - 2009-05-28 16:49:26
|
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. |