Skip to content

Commit 6ee3493

Browse files
author
Jeff Whitaker
committed
Merge pull request #142 from jswhit/master
fix for issue 123
2 parents 822ea19 + 97147b5 commit 6ee3493

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Changelog

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
version 1.0.8 (not yet released)
22
--------------------------------
3+
* fix for coastline drawing glitch (issue 123).
34
* update shapefile.py to version 1.2.0 from pyshp.googlecode.com. Add back
45
in modification clobbered in upgrade to version 1.1.7 (issue 30).
56
* added 'facecolor' keyward argument to drawcounties() method; gives user

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)