Revision: 5566
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5566&view=rev
Author:   jswhit
Date:     2008-06-16 14:11:57 -0700 (Mon, 16 Jun 2008)

Log Message:
-----------
add tabularcolumns sphinx directive so tables look nice in pdf.

Modified Paths:
--------------
    trunk/toolkits/basemap/lib/mpl_toolkits/basemap/__init__.py

Modified: trunk/toolkits/basemap/lib/mpl_toolkits/basemap/__init__.py
===================================================================
--- trunk/toolkits/basemap/lib/mpl_toolkits/basemap/__init__.py 2008-06-16 
21:11:11 UTC (rev 5565)
+++ trunk/toolkits/basemap/lib/mpl_toolkits/basemap/__init__.py 2008-06-16 
21:11:57 UTC (rev 5566)
@@ -129,6 +129,8 @@
  For most map projections, the map projection region can either be
  specified by setting these keywords:
 
+ .. tabularcolumns:: |l|L|
+
  ==============   ====================================================
  Keyword          Description
  ==============   ====================================================
@@ -144,6 +146,8 @@
 
  or these
 
+ .. tabularcolumns:: |l|L|
+
  ==============   ====================================================
  Keyword          Description
  ==============   ====================================================
@@ -175,6 +179,8 @@
 
  Other keyword arguments:
 
+ .. tabularcolumns:: |l|L|
+
  ==============   ====================================================
  Keyword          Description
  ==============   ====================================================
@@ -241,6 +247,8 @@
  The module variable ``projection_params`` is a dictionary which
  lists which parameters apply to which projections.
 
+ .. tabularcolumns:: |l|L|
+
  ================ ====================================================
  Keyword          Description
  ================ ====================================================
@@ -284,6 +292,8 @@
 
  Useful instance variables:
 
+ .. tabularcolumns:: |l|L|
+
  ================ ====================================================
  Variable Name    Description
  ================ ====================================================
@@ -1125,6 +1135,8 @@
         draw boundary around map projection region, optionally
         filling interior of region.
 
+        .. tabularcolumns:: |l|L|
+
         ==============   ====================================================
         Keyword          Description
         ==============   ====================================================
@@ -1238,6 +1250,8 @@
         """
         Fill continents.
 
+        .. tabularcolumns:: |l|L|
+
         ==============   ====================================================
         Keyword          Description
         ==============   ====================================================
@@ -1307,6 +1321,8 @@
         """
         Draw coastlines.
 
+        .. tabularcolumns:: |l|L|
+
         ==============   ====================================================
         Keyword          Description
         ==============   ====================================================
@@ -1347,6 +1363,8 @@
         """
         Draw country boundaries.
 
+        .. tabularcolumns:: |l|L|
+
         ==============   ====================================================
         Keyword          Description
         ==============   ====================================================
@@ -1392,6 +1410,8 @@
         """
         Draw state boundaries in Americas.
 
+        .. tabularcolumns:: |l|L|
+
         ==============   ====================================================
         Keyword          Description
         ==============   ====================================================
@@ -1437,6 +1457,8 @@
         """
         Draw major rivers.
 
+        .. tabularcolumns:: |l|L|
+
         ==============   ====================================================
         Keyword          Description
         ==============   ====================================================
@@ -1490,6 +1512,8 @@
 
         Mandatory Arguments:
 
+        .. tabularcolumns:: |l|L|
+
         ==============   ====================================================
         Argument         Description
         ==============   ====================================================
@@ -1516,6 +1540,8 @@
         and Polygon shape types, for Point and MultiPoint shapes they are
         ignored.
 
+        .. tabularcolumns:: |l|L|
+
         ==============   ====================================================
         Keyword          Description
         ==============   ====================================================
@@ -1625,13 +1651,14 @@
                       dashes=[1,1],labels=[0,0,0,0],labelstyle=None, \
                       fmt='%g',xoffset=None,yoffset=None,ax=None,**kwargs):
         """
-        Draw and label parallels (latitude lines).
+        Draw and label parallels (latitude lines) for values (in degrees)  
+        given in the sequence ``circles``.
 
+        .. tabularcolumns:: |l|L|
+
         ==============   ====================================================
         Keyword          Description
         ==============   ====================================================
-        circles          sequence containing latitude values to draw (in
-                         degrees).
         color            color to draw parallels (default black).
         linewidth        line width for parallels (default 1.)
         zorder           sets the zorder for parallels (if not specified,
@@ -1880,13 +1907,14 @@
                       dashes=[1,1],labels=[0,0,0,0],labelstyle=None,\
                       fmt='%g',xoffset=None,yoffset=None,ax=None,**kwargs):
         """
-        Draw and label meridians (longitude lines).
+        Draw and label meridians (longitude lines) for values (in degrees)
+        given in the sequence ``meridians``.
 
+        .. tabularcolumns:: |l|L|
+
         ==============   ====================================================
         Keyword          Description
         ==============   ====================================================
-        meridians        sequence containing longitude values to draw (in
-                         degrees).
         color            color to draw meridians (default black).
         linewidth        line width for meridians (default 1.)
         zorder           sets the zorder for meridians (if not specified,
@@ -2138,6 +2166,8 @@
         """
         Draw a great circle on the map.
 
+        .. tabularcolumns:: |l|L|
+
         ==============   
=======================================================
         Keyword          Description
         ==============   
=======================================================
@@ -2177,6 +2207,8 @@
         map projection coordinates for plotting on a map with 
         the :meth:`imshow`.
 
+        .. tabularcolumns:: |l|L|
+
         ==============   ====================================================
         Keyword          Description
         ==============   ====================================================
@@ -2237,6 +2269,8 @@
         vector field is rotated to map projection coordinates (relative
         to x and y). The magnitude of the vector is preserved.
 
+        .. tabularcolumns:: |l|L|
+
         ==============   ====================================================
         Keyword          Description
         ==============   ====================================================
@@ -2298,6 +2332,8 @@
         vector field is rotated to map projection coordinates (relative
         to x and y). The magnitude of the vector is preserved.
 
+        .. tabularcolumns:: |l|L|
+
         ==============   ====================================================
         Keyword          Description
         ==============   ====================================================
@@ -2801,6 +2837,8 @@
          of other images, due to limitations in matplotlib image handling
          (you can't specify the zorder of an image).
 
+        .. tabularcolumns:: |l|L|
+
         ==============   ====================================================
         Arguments        Description
         ==============   ====================================================
@@ -2815,6 +2853,8 @@
                          rgba_ocean = (0,0,255,0).
         ==============   ====================================================
 
+        .. tabularcolumns:: |l|L|
+
         ==============   ====================================================
         Keywords         Description
         ==============   ====================================================
@@ -3028,6 +3068,8 @@
         representing distance in the map
         projection coordinates at ``lon0,lat0``. 
 
+        .. tabularcolumns:: |l|L|
+
         ==============   ====================================================
         Keywords         Description
         ==============   ====================================================
@@ -3233,6 +3275,8 @@
     Interpolate data (``datain``) on a rectilinear grid (with x = ``xin``
     y = ``yin``) to a grid with x = ``xout``, y= ``yout``.
 
+    .. tabularcolumns:: |l|L|
+
     ==============   ====================================================
     Arguments         Description
     ==============   ====================================================
@@ -3244,6 +3288,8 @@
                      grid.
     ==============   ====================================================
 
+    .. tabularcolumns:: |l|L|
+
     ==============   ====================================================
     Keywords          Description
     ==============   ====================================================
@@ -3361,6 +3407,8 @@
     Shift global lat/lon grid east or west.
     assumes wraparound (or cyclic point) is included.
 
+    .. tabularcolumns:: |l|L|
+
     ==============   ====================================================
     Arguments         Description
     ==============   ====================================================
@@ -3371,6 +3419,8 @@
     lonsin           original longitudes.
     ==============   ====================================================
 
+    .. tabularcolumns:: |l|L|
+
     ==============   ====================================================
     Keywords          Description
     ==============   ====================================================
@@ -3468,12 +3518,16 @@
     but the reference time and calendar can be changed via the
     ``units`` and ``calendar`` keywords.
 
+    .. tabularcolumns:: |l|L|
+
     ==============   ====================================================
     Arguments        Description
     ==============   ====================================================
     times            numeric time values. Maximum resolution is 1 second.
     ==============   ====================================================
 
+    .. tabularcolumns:: |l|L|
+
     ==============   ====================================================
     Keywords          Description
     ==============   ====================================================
@@ -3521,6 +3575,8 @@
     but the reference time and calendar can be changed via the
     ``units`` and ``calendar`` keywords.
 
+    .. tabularcolumns:: |l|L|
+
     ==============   ====================================================
     Arguments        Description
     ==============   ====================================================
@@ -3529,6 +3585,8 @@
                      time-zone offset.
     ==============   ====================================================
 
+    .. tabularcolumns:: |l|L|
+
     ==============   ====================================================
     Keywords          Description
     ==============   ====================================================


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

Reply via email to