We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd37a9c commit 2e6f75fCopy full SHA for 2e6f75f
lib/mpl_toolkits/basemap/__init__.py
@@ -2575,10 +2575,11 @@ def addlon(meridians,madd):
2575
if xoffset is None:
2576
xoffset = (self.urcrnrx-self.llcrnrx)/100.
2577
2578
+ lats = np.linspace(self.latmin,self.latmax,10001)
2579
if self.projection not in _cylproj + _pseudocyl:
- lats = np.linspace(-latmax,latmax,10001)
2580
- else:
2581
- lats = np.linspace(-90,90,100001)
+ testlat = np.logical_and(lats>-latmax,lats<latmax)
+ lats = np.compress(testlat,lats)
2582
+
2583
xdelta = 0.01*(self.xmax-self.xmin)
2584
ydelta = 0.01*(self.ymax-self.ymin)
2585
linecolls = {}
0 commit comments