from mpl_toolkits.basemap import Basemapimport matplotlib.pyplot as pltmap = Basemap()map.drawcoastlines()plt.show()plt.savefig('test.png')
from mpl_toolkits.basemap import Basemapimport matplotlib.pyplot as pltmap = Basemap(projection='ortho', lat_0=0, lon_0=0)#Fill the globe with a blue color map.drawmapboundary(fill_color='aqua')#Fill the continents with the land colormap.fillcontinents(color='coral',lake_color='aqua')map.drawcoastlines()plt.show()