Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to draw floating pie charts on an existing plot with matplotlib

I would like to plot multiple pie charts over an existing plot using absolute coordinates.

I went through the add_axes method and also the AxesGrid toolikt but couldn't find a solution.

To be more specific, I want to draw pie charts over a geographical map using the basemap module.

like image 453
Guillaume Avatar asked Nov 06 '22 06:11

Guillaume


1 Answers

This tutorial explains how to use matplotlib Basemap for drawing pie charts on a map. It is fairly simple and gives code examples.

like image 173
karlcow Avatar answered Nov 11 '22 04:11

karlcow