Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 17c1d3c

Browse files
rcomertimhoffm
andauthored
Apply suggestions from code review
Co-authored-by: Tim Hoffmann <[email protected]>
1 parent 45a53e2 commit 17c1d3c

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

lib/matplotlib/axes/_axes.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3545,7 +3545,7 @@ def pie(self, x, *, explode=None, labels=None, colors=None, wedge_labels=None,
35453545
.. deprecated:: 3.12
35463546
In future these labels will not appear on the wedges but only
35473547
be made available for the legend (see *labeldistance* below).
3548-
To label the wedges directly, use *wedge_labels* or the
3548+
To label place labels on the wedges, use *wedge_labels* or the
35493549
`pie_label` method.
35503550
35513551
colors : :mpltype:`color` or list of :mpltype:`color`, default: None
@@ -3566,7 +3566,8 @@ def pie(self, x, *, explode=None, labels=None, colors=None, wedge_labels=None,
35663566
35673567
wedge_labels="{absval:d} ({frac:.0%})"
35683568
3569-
For more control or to add multiple sets of labels, use `pie_label`.
3569+
For more control or to add multiple sets of labels, use `pie_label`
3570+
instead.
35703571
35713572
.. versionadded:: 3.12
35723573

0 commit comments

Comments
 (0)