Skip to content

Commit 34ccef9

Browse files
committed
Fix warped images placed behind elliptical map background
Solves GitHub issue #577.
1 parent 25672c6 commit 34ccef9

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ https://semver.org/spec/v2.0.0.html
1515
### Fixed
1616
- Fix references to removed `numpy.float` alias (solves issue [#589],
1717
thanks to @quickbrett).
18+
- Fix bug with elliptical maps causing warped images (Blue Marble,
19+
ETOPO, Shaded Relief) to be shown behind the map background when the
20+
map boundary is not initialised manually (solves issue [#577], thanks
21+
to @YilongWang).
1822

1923
## [1.3.8] - 2023-08-18
2024

@@ -994,6 +998,8 @@ https://github.com/matplotlib/basemap/issues/581
994998
https://github.com/matplotlib/basemap/pull/580
995999
[#579]:
9961000
https://github.com/matplotlib/basemap/issues/579
1001+
[#577]:
1002+
https://github.com/matplotlib/basemap/issues/577
9971003
[#573]:
9981004
https://github.com/matplotlib/basemap/issues/573
9991005
[#564]:

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -3203,7 +3203,7 @@ def set_axes_limits(self,ax=None):
32033203
# first draw boundary, no fill
32043204
limb1 = self.drawmapboundary(fill_color='none', ax=ax)
32053205
# draw another filled patch, with no boundary.
3206-
limb2 = self.drawmapboundary(linewidth=0, ax=ax)
3206+
limb2 = self.drawmapboundary(fill_color='none', linewidth=0, ax=ax)
32073207
self._mapboundarydrawn = limb2
32083208
# for elliptical map, always turn off axis_frame.
32093209
if ((self.projection in ['ortho', 'geos', 'nsper', 'aeqd'] and

0 commit comments

Comments
 (0)