From: <js...@us...> - 2007-11-06 18:23:15
|
Revision: 4125 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=4125&view=rev Author: jswhit Date: 2007-11-06 10:23:13 -0800 (Tue, 06 Nov 2007) Log Message: ----------- docstring cleanup, remove extra Shapely Polygon call. Modified Paths: -------------- trunk/toolkits/basemap-testing/lib/matplotlib/toolkits/basemap/basemap.py Modified: trunk/toolkits/basemap-testing/lib/matplotlib/toolkits/basemap/basemap.py =================================================================== --- trunk/toolkits/basemap-testing/lib/matplotlib/toolkits/basemap/basemap.py 2007-11-06 15:50:51 UTC (rev 4124) +++ trunk/toolkits/basemap-testing/lib/matplotlib/toolkits/basemap/basemap.py 2007-11-06 18:23:13 UTC (rev 4125) @@ -792,7 +792,8 @@ # coordinates (this saves time, especially for small map # regions and high-resolution boundary geometries). if not containsPole: - # close Antarctica for cylindrical projections. + # close Antarctica for cylindrical and + # pseudo-cylindrical projections. if name == 'gshhs' and self.projection in ['cyl','merc','mill','moll','robin','sinu']: b = npy.asarray(poly.boundary) lons = b[:,0] @@ -900,7 +901,7 @@ def _getmapboundary(self): """ - define map boundary polygon (in lat/lon coordinates) + create map boundary polygon (in lat/lon and x/y coordinates) """ nx = 100 ny = 100 @@ -994,7 +995,7 @@ lonprev = lon n = n + 1 boundaryll = PolygonShape(zip(lons,lats)) - return PolygonShape(zip(lons,lats)), boundaryxy + return boundaryll, boundaryxy def drawmapboundary(self,color='k',linewidth=1.0,ax=None): This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |