I’ve got a pie chart (example) with following fracs = [10, 20, 50, 30]. Drawing this with matplotlib is no problem. How do I get a breakdown of the first wedge (10) into 6 and 4? Ideally, I want a second wedge for the 20, to breakdown into 10, 3, 7. This would be displayed as a barchart near the specific wedge or a pie chart (which would make it a pie of pie chart similar to the ones in Excel).
I’ve got a pie chart (example) with following fracs = [10, 20, 50, 30]
Share
Here is one way of doing it (possibly not the best…). I’ve adapted some of the code found here, on the matplotlib site to make a
little_piefunction, that will draw small pie charts at arbitrary positions.