The figure always has a line when I use basemap toolkit in python

I can’t send my figure as the low reputation.The figure shows that there is one line across the America.

from mpl_toolkits.basemap import Basemap
import matplotlib.pyplot as plt
map = Basemap(projection='ortho', 
          lat_0=0, lon_0=0,resolution='l') 
map.drawmapboundary(fill_color='aqua')
map.fillcontinents(color='coral',lake_color='aqua')
map.drawcoastlines()
x, y = map(0, 0)
map.plot(x, y, marker='D',color='m')
plt.show()


Source: python

Leave a Reply