Skip to content

Commit f00d3a8

Browse files
author
Bill Ladwig
committed
Merge branch 'hotfix/1.0.3'
2 parents 114b249 + 8fd75f8 commit f00d3a8

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

doc/source/new.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ What's New
44
Releases
55
-------------
66

7+
v1.0.3
8+
^^^^^^^^^^^^^^
9+
10+
- Relase 1.0.3
11+
- Fixed an issue with the cartopy Mercator subclass where the xlimits were
12+
being calculated to the same value (or very close), causing blank plots.
13+
714
v1.0.2
815
^^^^^^^^^^^^^^
916

src/wrf/projection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def __init__(self, central_longitude=0.0,
6969
# to the same value, so make sure the left one is negative
7070
xlimits = limits[..., 0]
7171

72-
if xlimits[0] == xlimits[1]:
72+
if math.fabs(xlimits[0] - xlimits[1]) < 1e-6:
7373
if xlimits[0] < 0:
7474
xlimits[1] = -xlimits[1]
7575
else:

src/wrf/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
__version__ = "1.0.2"
1+
__version__ = "1.0.3"
22

0 commit comments

Comments
 (0)