Matplotlib Pie Charts

Matplotlib API has a pie() function that generates a pie diagram representing data in an array.

Code :