Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit17c1d3c

Browse files
rcomertimhoffm
andauthored
Apply suggestions from code review
Co-authored-by: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com>
1 parent45a53e2 commit17c1d3c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎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 labelplace labels onthe 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)

[8]ページ先頭

©2009-2025 Movatter.jp