Revision: 4854
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=4854&view=rev
Author:   mdboom
Date:     2008-01-10 08:37:18 -0800 (Thu, 10 Jan 2008)

Log Message:
-----------
Fix display of '[' and ']' in mathtext.

Modified Paths:
--------------
    branches/v0_91_maint/lib/matplotlib/mathtext.py

Modified: branches/v0_91_maint/lib/matplotlib/mathtext.py
===================================================================
--- branches/v0_91_maint/lib/matplotlib/mathtext.py     2008-01-10 16:01:02 UTC 
(rev 4853)
+++ branches/v0_91_maint/lib/matplotlib/mathtext.py     2008-01-10 16:37:18 UTC 
(rev 4854)
@@ -2058,7 +2058,7 @@
                      ).setParseAction(self.customspace).setName('customspace')
 
         unicode_range = u"\U00000080-\U0001ffff"
-        symbol       =(Regex(UR"([a-zA-Z0-9 
+\-*/<>=:,.;!'@()|%s])|(\\[%%${}\[\]_|])" % unicode_range)
+        symbol       =(Regex(UR"([a-zA-Z0-9 
+\-*/<>=:,.;!'@()\[\]|%s])|(\\[%%${}\[\]_|])" % unicode_range)
                      | Combine(
                          bslash
                        + oneOf(tex2uni.keys())


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

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to