Revision: 7566
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=7566&view=rev
Author:   jswhit
Date:     2009-08-25 11:54:24 +0000 (Tue, 25 Aug 2009)

Log Message:
-----------
add lonmin, lonmax instance vars

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 2009-08-25 
02:15:45 UTC (rev 7565)
+++ trunk/toolkits/basemap/lib/mpl_toolkits/basemap/__init__.py 2009-08-25 
11:54:24 UTC (rev 7566)
@@ -737,13 +737,19 @@
         if projection in _cylproj:
             self.latmin = self.llcrnrlat
             self.latmax = self.urcrnrlat
+            self.lonmin = self.llcrnrlon
+            self.lonmax = self.urcrnrlon
         elif projection in ['ortho','geos'] + _pseudocyl:
             self.latmin = -90.
             self.latmax = 90.
+            self.lonmin = self.llcrnrlon
+            self.lonmax = self.urcrnrlon
         else:
-            lons, lats = self.makegrid(101,101)
+            lons, lats = self.makegrid(1001,1001)
             self.latmin = lats.min()
             self.latmax = lats.max()
+            self.lonmin = lons.min()
+            self.lonmax = lons.max()
 
         # if ax == None, pyplot.gca may be used.
         self.ax = ax


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

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to