Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4b6d218

Browse files
committed
fixed some doc formatting errors
svn path=/trunk/matplotlib/; revision=6524
1 parent daa750c commit 4b6d218

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

lib/matplotlib/patches.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1429,11 +1429,12 @@ def _pprint_styles(_styles, leadingspace=2):
14291429
args = None
14301430

14311431
if args is None:
1432-
argstr = 'None' # empy table entry crashed latex build
1432+
argstr = 'None'
14331433
else:
14341434
argstr = ",".join([("%s=%s" % (an, av)) for an, av in args])
14351435

1436-
_table.append([cls.__name__, name, argstr])
1436+
#adding quotes for now to work around tex bug treating '-' as itemize
1437+
_table.append([cls.__name__, "'%s'"%name, argstr])
14371438

14381439

14391440
return _pprint_table(_table)
@@ -3309,13 +3310,13 @@ def set_positions(self, posA, posB):
33093310

33103311

33113312
def set_patchA(self, patchA):
3312-
""" set the begin patche.
3313+
""" set the begin patch.
33133314
"""
33143315
self.patchA = patchA
33153316

33163317

33173318
def set_patchB(self, patchB):
3318-
""" set the begin patche.
3319+
""" set the begin patch
33193320
"""
33203321
self.patchB = patchB
33213322

0 commit comments

Comments
 (0)