Skip to content

Commit a1f14d6

Browse files
jklymakmeeseeksmachine
authored andcommitted
Backport PR matplotlib#32265: DOC: minor fix in pie_label docstring
1 parent ce691f5 commit a1f14d6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/matplotlib/axes/_axes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3794,7 +3794,7 @@ def pie_label(self, container, /, labels, *, distance=0.6,
37943794
string with ``absval`` and/or ``frac`` placeholders. For example, to label
37953795
each wedge with its value and the percentage in brackets::
37963796
3797-
wedge_labels="{absval:d} ({frac:.0%})"
3797+
labels="{absval:d} ({frac:.0%})"
37983798
37993799
distance : float, default: 0.6
38003800
The radial position of the labels, relative to the pie radius. Values > 1

0 commit comments

Comments
 (0)