Closed
Description
I am trying to draw continental coastlines with basemap. However, the following:
from mpl_toolkits.basemap import Basemap
m = Basemap(projection='eck4', lon_0=0, resolution='l')
m.drawcoastlines()
cuts off the Antarctic coastline at the Greenwich meridian as seen here. This is a problem not just with the Eckert IV projection, but with most (all?) global projections. E.g.,
m = Basemap(projection='cyl', resolution='l', llcrnrlat=-90, urcrnrlat=90, llcrnrlon=-180, urcrnrlon=180)
produces the same wrong behavior. I'm aware that basemap has been discontinued in favor or cartopy, but I have a lot of legacy plotting code using basemap that is now broken because of this. Here are the versions I'm using:
basemap 1.2.1
python 3.8.12
numpy 1.21.2
matplotlib 3.4.3
All were installed from macports.
Please help?
Metadata
Metadata
Assignees
Labels
No labels