Revision: 7386
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=7386&view=rev
Author:   jswhit
Date:     2009-08-05 16:55:48 +0000 (Wed, 05 Aug 2009)

Log Message:
-----------
fix bug preventing drawing of parallels in some 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 2009-08-05 
16:30:55 UTC (rev 7385)
+++ trunk/toolkits/basemap/lib/mpl_toolkits/basemap/__init__.py 2009-08-05 
16:55:48 UTC (rev 7386)
@@ -1789,8 +1789,7 @@
                 yd = (y[1:]-y[0:-1])**2
                 dist = np.sqrt(xd+yd)
                 split = dist > 500000.
-                if np.sum(split) and self.projection not in \
-                   ['cyl', 'merc', 'mill', 'gall', 'moll', 'robin', 'sinu', 
'mbtfpq']:
+                if np.sum(split) and self.projection not in _cylproj:
                     ind = 
(np.compress(split,np.squeeze(split*np.indices(xd.shape)))+1).tolist()
                     xl = []
                     yl = []
@@ -2028,7 +2027,7 @@
                 yd = (y[1:]-y[0:-1])**2
                 dist = np.sqrt(xd+yd)
                 split = dist > 500000.
-                if np.sum(split) and self.projection not in _cylproj + 
_pseudocyl:
+                if np.sum(split) and self.projection not in _cylproj:
                     ind = 
(np.compress(split,np.squeeze(split*np.indices(xd.shape)))+1).tolist()
                     xl = []
                     yl = []


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