draw a population density map for the world in python matplotlib -


i have dictionary of countries (by 2 letter country code), , population density of each country.

i'd create map each country colored according color bar of density, country boundries drawn.

i've tried using basemap package, in this notebook

this piece of code works countries. want worldwide.

i think post useful.

http://i4.tietuku.com/08e327b15bba3a22.png

it use shapefile of each countries define contour boundaries.


Comments

Popular posts from this blog

java - How to specify maven bin in eclipse maven plugin? -

single sign on - Logging into Plone site with credentials passed through HTTP -

php - Why does AJAX not process login form? -