Matplotlib Tutorial 26 - Basemap intro
In this Matplotlib tutorial, we're going to be covering the geographic plotting module, Basemap. Basemap is an extension to Matplotlib.
In order to use Basemap, we first need it. To get Basemap, you can either get it from here: http://matplotlib.org/basemap/users/download.html, or you can go to http://www.lfd.uci.edu/~gohlke/pythonlibs/.
If you are having trouble installing Basemap, check out the pip installation tutorial.
Once you have Basemap installed, you're ready to create maps. First, let's just project a simple map. To do this, we need to import Basemap, pyplot, create the projection, draw at least some sort of outline or data, then we can show the graph.
sample code: http://pythonprogramming.net
http://hkinsley.com
https://twitter.com/sentdex
http://sentdex.com
http://seaofbtc.com