Skip to content

Commit 5dd8414

Browse files
committed
Update Mercator projection attributes
1 parent 9a812e0 commit 5dd8414

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

src/wrf/projection.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,9 @@ def __init__(self, central_longitude=0.0,
7676
else:
7777
xlimits[0] = -xlimits[0]
7878

79-
self._xlimits = tuple(xlimits)
80-
self._ylimits = tuple(limits[..., 1])
81-
8279
# Compatibility with cartopy >= 0.17
83-
self._x_limits = self._xlimits
84-
self._y_limits = self._ylimits
80+
self._x_limits = tuple(xlimits)
81+
self._y_limits = tuple(limits[..., 1])
8582

8683
self._threshold = np.diff(self.x_limits)[0] / 720
8784

test/test_mercator.py

Whitespace-only changes.

0 commit comments

Comments
 (0)