Revision: 6524
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6524&view=rev
Author:   jdh2358
Date:     2008-12-08 22:04:15 +0000 (Mon, 08 Dec 2008)

Log Message:
-----------
fixed some doc formatting errors

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

Modified: trunk/matplotlib/lib/matplotlib/patches.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/patches.py  2008-12-08 21:59:25 UTC (rev 
6523)
+++ trunk/matplotlib/lib/matplotlib/patches.py  2008-12-08 22:04:15 UTC (rev 
6524)
@@ -1429,11 +1429,12 @@
             args = None
 
         if args is None:
-            argstr = 'None'  # empy table entry crashed latex build
+            argstr = 'None'
         else:
             argstr =  ",".join([("%s=%s" % (an, av)) for an, av in args])
 
-        _table.append([cls.__name__, name, argstr])
+        #adding quotes for now to work around tex bug treating '-' as itemize
+        _table.append([cls.__name__, "'%s'"%name, argstr])
 
 
     return _pprint_table(_table)
@@ -3309,13 +3310,13 @@
 
 
     def set_patchA(self, patchA):
-        """ set the begin patche.
+        """ set the begin patch.
         """
         self.patchA = patchA
 
 
     def set_patchB(self, patchB):
-        """ set the begin patche.
+        """ set the begin patch
         """
         self.patchB = patchB
 


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

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Matplotlib-checkins mailing list
Matplotlib-checkins@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to