Skip to content

Commit f7ea9c5

Browse files
author
Jeff Whitaker
committed
workaround for issue 123
1 parent 822ea19 commit f7ea9c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mpl_toolkits/basemap/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1404,7 +1404,7 @@ def _readboundarydata(self,name,as_polygons=False):
14041404
xd = (bx[1:]-bx[0:-1])**2
14051405
yd = (by[1:]-by[0:-1])**2
14061406
dist = np.sqrt(xd+yd)
1407-
split = dist > 0.5*(self.xmax-self.xmin)
1407+
split = dist > 0.1*(self.xmax-self.xmin)
14081408
if np.sum(split) and self.projection not in _cylproj:
14091409
ind = (np.compress(split,np.squeeze(split*np.indices(xd.shape)))+1).tolist()
14101410
iprev = 0

0 commit comments

Comments
 (0)