Revision: 6704
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6704&view=rev
Author:   jswhit
Date:     2008-12-26 23:20:56 +0000 (Fri, 26 Dec 2008)

Log Message:
-----------
fix defn of llcrnrlon, urcrnrlon for pseudo-cyl projections

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-12-26 
16:36:39 UTC (rev 6703)
+++ trunk/toolkits/basemap/lib/mpl_toolkits/basemap/__init__.py 2008-12-26 
23:20:56 UTC (rev 6704)
@@ -594,9 +594,9 @@
                 raise ValueError, 'must specify lon_0 for %s projection' % 
_projnames[self.projection]
             if width is not None or height is not None:
                 print 'warning: width and height keywords ignored for %s 
projection' % _projnames[self.projection]
-            llcrnrlon = -180.
+            llcrnrlon = lon_0-180.
             llcrnrlat = -90.
-            urcrnrlon = 180
+            urcrnrlon = lon_0+180
             urcrnrlat = 90.
             self.llcrnrlon = llcrnrlon; self.llcrnrlat = llcrnrlat
             self.urcrnrlon = urcrnrlon; self.urcrnrlat = urcrnrlat


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

------------------------------------------------------------------------------
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to