|
From: <jd...@us...> - 2008-12-08 22:04:19
|
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.
|