Revision: 8284
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8284&view=rev
Author:   mdboom
Date:     2010-04-28 19:50:11 +0000 (Wed, 28 Apr 2010)

Log Message:
-----------
Fix docstring formatting.

Modified Paths:
--------------
    trunk/matplotlib/doc/mpl_toolkits/axes_grid/api/axis_artist_api.rst
    trunk/matplotlib/lib/matplotlib/axes.py
    trunk/matplotlib/lib/mpl_toolkits/mplot3d/axes3d.py

Modified: trunk/matplotlib/doc/mpl_toolkits/axes_grid/api/axis_artist_api.rst
===================================================================
--- trunk/matplotlib/doc/mpl_toolkits/axes_grid/api/axis_artist_api.rst 
2010-04-28 19:44:47 UTC (rev 8283)
+++ trunk/matplotlib/doc/mpl_toolkits/axes_grid/api/axis_artist_api.rst 
2010-04-28 19:50:11 UTC (rev 8284)
@@ -1,6 +1,6 @@
 
 :mod:`mpl_toolkits.axes_grid.axis_artist`
-=======================================
+=========================================
 
 .. autoclass:: mpl_toolkits.axes_grid.axis_artist.AxisArtist
    :members:

Modified: trunk/matplotlib/lib/matplotlib/axes.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/axes.py     2010-04-28 19:44:47 UTC (rev 
8283)
+++ trunk/matplotlib/lib/matplotlib/axes.py     2010-04-28 19:50:11 UTC (rev 
8284)
@@ -1975,9 +1975,9 @@
 
         Optional keyword arguments:
 
-          ============   =====================================
+          ============   =========================================
           Keyword        Description
-          ============   =====================================
+          ============   =========================================
           *style*        [ 'sci' (or 'scientific') | 'plain' ]
                          plain turns off scientific notation
           *scilimits*    (m, n), pair of integers; if *style*
@@ -1991,7 +1991,7 @@
                          numeric offset is specified, it will be
                          used.
           *axis*         [ 'x' | 'y' | 'both' ]
-          ============   =====================================
+          ============   =========================================
 
         Only the major ticks are affected.
         If the method is called when the

Modified: trunk/matplotlib/lib/mpl_toolkits/mplot3d/axes3d.py
===================================================================
--- trunk/matplotlib/lib/mpl_toolkits/mplot3d/axes3d.py 2010-04-28 19:44:47 UTC 
(rev 8283)
+++ trunk/matplotlib/lib/mpl_toolkits/mplot3d/axes3d.py 2010-04-28 19:50:11 UTC 
(rev 8284)
@@ -52,6 +52,7 @@
           ================   =========================================
           *azim*             Azimuthal viewing angle (default -60)
           *elev*             Elevation viewing angle (default 30)
+          ================   =========================================
         '''
 
         if rect is None:
@@ -349,9 +350,9 @@
         the axes.  Also optionally sets the mouse buttons for 3D rotation
         and zooming.
 
-        ============  ================================================
+        ============  =======================================================
         Argument      Description
-        ============  ================================================
+        ============  =======================================================
         *rotate_btn*  The integer or list of integers specifying which mouse
                       button or buttons to use for 3D rotation of the axes.
                       Default = 1.
@@ -359,7 +360,8 @@
         *zoom_btn*    The integer or list of integers specifying which mouse
                       button or buttons to use to zoom the 3D axes.
                       Default = 3.
-        ============  ================================================
+        ============  =======================================================
+        
         """
         self.button_pressed = None
         canv = self.figure.canvas
@@ -636,22 +638,20 @@
         but it also supports color mapping by supplying the *cmap*
         argument.
 
-        ==========  ================================================
-        Argument    Description
-        ==========  ================================================
-        *X*, *Y*,   Data values as numpy.arrays
-        *Z*
-        *rstride*   Array row stride (step size)
-        *cstride*   Array column stride (step size)
-        *color*     Color of the surface patches
-        *cmap*      A colormap for the surface patches.
-        *facecolors* Face colors for the individual patches
-        *norm*      An instance of Normalize to map values to colors
-        *vmin*      Minimum value to map
-        *vmax*      Maximum value to map
-        *shade*     Whether to shade the facecolors, default:
-                    false when cmap specified, true otherwise
-        ==========  ================================================
+        ============= ================================================
+        Argument      Description
+        ============= ================================================
+        *X*, *Y*, *Z* Data values as numpy.arrays
+        *rstride*     Array row stride (step size)
+        *cstride*     Array column stride (step size)
+        *color*       Color of the surface patches
+        *cmap*        A colormap for the surface patches.
+        *facecolors*  Face colors for the individual patches
+        *norm*        An instance of Normalize to map values to colors
+        *vmin*        Minimum value to map
+        *vmax*        Maximum value to map
+        *shade*       Whether to shade the facecolors
+        ============= ================================================
 
         Other arguments are passed on to
         :func:`~mpl_toolkits.mplot3d.art3d.Poly3DCollection.__init__`
@@ -1083,16 +1083,21 @@
         dx, dy, dz can be arrays or scalars.
 
         *color* can be:
+        
          - A single color value, to color all bars the same color.
+         
          - An array of colors of length N bars, to color each bar
-         independently.
-         - An array of colors of length 6, to color the faces of the bars
-         similarly.
+           independently.
+           
+         - An array of colors of length 6, to color the faces of the
+           bars similarly.
+           
          - An array of colors of length 6 * N bars, to color each face
-         independently.
+           independently.
 
-         When coloring the faces of the boxes specifically, this is the order
-         of the coloring:
+         When coloring the faces of the boxes specifically, this is
+         the order of the coloring:
+         
           1. -Z (bottom of box)
           2. +Z (top of box)
           3. -Y


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

------------------------------------------------------------------------------
_______________________________________________
Matplotlib-checkins mailing list
Matplotlib-checkins@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to