Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Open
Labels
Description
Problem
I would like to show a label displaying the absolute numbers used to create the pie chart. Currently, only percentage labels are supported viaautopct
. Hacky solutions likehttps://stackoverflow.com/a/48299798/3779655 orhttps://stackoverflow.com/a/41089685/3779655 exist to retrieve the absolute values based from the fractional ones. It would be better to support it out of the box.
Proposed Solution
Add optionwedgelabels=None|'percent'|'absolute'|list of strings
together withwedgelabelfmt
replacingautopct
.
For migration, initializewedgelabelfmt=autopct
forwedgelabels='percent'
and overwrite ifwedgelabelfmt
is set.