title: draw a population density map for the world in python matplotlib
body: <p>I have a dictionary of countries (by their 2 letter country code), and the population density of each country.</p>
  
  <p>I'd like to create a map with each country colored according to a color bar of density, with the country boundries drawn.</p>
  
  <p>I've tried using the basemap package, like in <a href="http://introtopython.org/visualization_earthquakes.html#simple_map" rel="nofollow">this notebook</a></p>
  
  <p>This <a href="https://gist.github.com/adience-code/5658956b26fa4ab64ff9" rel="nofollow">piece of code</a> works for the US countries. But I want to do it worldwide.</p>