Skip to content

Commit 15bfd8d

Browse files
committed
Remove wrong coordinates conversion in Basemap.arcgisimage
1 parent f370fd3 commit 15bfd8d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

packages/basemap/src/mpl_toolkits/basemap/__init__.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4284,9 +4284,6 @@ def arcgisimage(self,server='http://server.arcgisonline.com/ArcGIS',\
42844284
arcgisimage cannot handle images that cross
42854285
the dateline for cylindrical projections.""")
42864286
raise ValueError(msg)
4287-
if self.projection != 'cyl':
4288-
xmin = (180./np.pi)*xmin; xmax = (180./np.pi)*xmax
4289-
ymin = (180./np.pi)*ymin; ymax = (180./np.pi)*ymax
42904287
# ypixels not given, find by scaling xpixels by the map aspect ratio.
42914288
if ypixels is None:
42924289
ypixels = int(self.aspect*xpixels)

0 commit comments

Comments
 (0)