Now that you are pretty much a pro at all other things Matplotlib, it is time to learn how to spread your wings a bit and begin working with geo-plotting on maps, using basemap. Basemap works alongside Matplotlib to allow you to plot via latitude and longitude coordinates.
Once you have basemap installed, you can use the following code to quickly show a simple map. This will just render and display a map, but soon we'll be plotting, zooming, and more fun things!
from mpl_toolkits.basemap import Basemap import matplotlib.pyplot as plt m = Basemap(projection='mill',llcrnrlat=-90,urcrnrlat=90,\ llcrnrlon=-180,urcrnrlon=180,resolution='c') m.drawcoastlines() m.fillcontinents() m.drawmapboundary() plt.title("Quick Basemap Example!") plt.show()