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 30d4641 commit 3a4ac46Copy full SHA for 3a4ac46
lpt/plotting.py
@@ -93,7 +93,7 @@ def get_projection(plot_area = [0,360,-60,60]):
93
Then use central_longitude = 0.
94
"""
95
96
- if plot_area[0] < -0.0001:
+ if plot_area[0] < -0.0001 or plot_area[0] > 179.9999:
97
proj = ccrs.PlateCarree(central_longitude = 0)
98
else:
99
proj = ccrs.PlateCarree(central_longitude = 180)
0 commit comments