Revision: 6748
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6748&view=rev
Author:   mdboom
Date:     2009-01-06 19:34:52 +0000 (Tue, 06 Jan 2009)

Log Message:
-----------
Fix reST formatting.

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

Modified: trunk/matplotlib/lib/matplotlib/patches.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/patches.py  2009-01-06 19:26:31 UTC (rev 
6747)
+++ trunk/matplotlib/lib/matplotlib/patches.py  2009-01-06 19:34:52 UTC (rev 
6748)
@@ -249,12 +249,10 @@
         hatchings are done.  If same letter repeats, it increases the
         density of hatching of that pattern.
 
-        CURRENT LIMITATIONS:
+        Hatching is supported in the PostScript, PDF, SVG and Agg
+        backends only.
 
-        1. Hatching is supported in the PostScript, PDF, SVG and Agg
-           backends only.
-
-        ACCEPTS: [ '/' | '\\' | '|' | '-' | '+' | 'x' | 'o' | 'O' | '.' | ' *' 
]
+        ACCEPTS: [ '/' | '\\' | '|' | '-' | '+' | 'x' | 'o' | 'O' | '.' | '*' ]
         """
         self._hatch = hatch
 
@@ -1444,8 +1442,8 @@
         else:
             argstr =  ",".join([("%s=%s" % (an, av)) for an, av in args])
 
-        #adding quotes for now to work around tex bug treating '-' as itemize
-        _table.append([cls.__name__, "'%s'"%name, argstr])
+        #adding ``quotes`` since - and | have special meaning in reST
+        _table.append([cls.__name__, "``%s``"%name, argstr])
 
     return _pprint_table(_table)
 


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 is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to