Plotting data on maps with matplotlib

I'm learning about matplotlib, and actually just bought the book Matplotlib for Python Developers.

Geographical plots

Browsing stackoverflow, the matplotlib homepage, and other resources, I eventually came by this stackoverflow post, which mentions BaseMap. Since the data that I'm plotting is inherently geographical, it makes sense to show the data on a map.

There are several nice examples on the basemap Github page.

Heatmaps

Often I want to create heatmaps of the data, using matplotlib.

On stackoverflow there are several posts on this topic:

There are different colormaps available for matplotlib, if you want to try different colorschemes.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.