Skip to content

Commit 3a4ac46

Browse files
committed
Map projection adjustment
1 parent 30d4641 commit 3a4ac46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lpt/plotting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def get_projection(plot_area = [0,360,-60,60]):
9393
Then use central_longitude = 0.
9494
"""
9595

96-
if plot_area[0] < -0.0001:
96+
if plot_area[0] < -0.0001 or plot_area[0] > 179.9999:
9797
proj = ccrs.PlateCarree(central_longitude = 0)
9898
else:
9999
proj = ccrs.PlateCarree(central_longitude = 180)

0 commit comments

Comments
 (0)