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

Skip to content

Commit c0ee631

Browse files
committed
DOC: minor tweaks to the wording
1 parent 49c4596 commit c0ee631

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2944,10 +2944,13 @@ def pie(self, x, explode=None, labels=None, colors=None,
29442944
29452945
normalize: None or bool, default: None
29462946
When *True*, always make a full pie by normalizing x so that
2947-
``sum(x) == 1``. When *False*, make a partial pie.
2948-
When *None*, gives the current behavior and warns if
2949-
``sum(x) < 1``. Please note that passing None to this parameter is
2950-
deprecated.
2947+
``sum(x) == 1``. When *False*, make a partial (or overfull) pie.
2948+
2949+
When *None*, gives the normalize if ``sum(x) > 0`` and warn if
2950+
``sum(x) < 1``.
2951+
2952+
Please note that passing None to this parameter is deprecated.
2953+
29512954
``pie()`` used to draw a partial pie if ``sum(x) < 1``. This
29522955
behavior is deprecated and will change to always normalizing the
29532956
values to a full pie by default. If you want to draw a partial pie,

0 commit comments

Comments
 (0)