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

Skip to content

Commit a43d8b3

Browse files
committed
DOC: Fix a typo in Axes.pie docstring.
1 parent 9471870 commit a43d8b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2932,7 +2932,7 @@ def pie(self, x, explode=None, labels=None, colors=None,
29322932
``sum(x) == 1``. *False* makes a partial pie if ``sum(x) <= 1``
29332933
and raises a `ValueError` for ``sum(x) > 1``.
29342934
2935-
When *None*, defaults to *True* if ``sum(x) > 0`` and *False* if
2935+
When *None*, defaults to *True* if ``sum(x) >= 1`` and *False* if
29362936
``sum(x) < 1``.
29372937
29382938
Please note that the previous default value of *None* is now
@@ -3009,7 +3009,7 @@ def pie(self, x, explode=None, labels=None, colors=None,
30093009
if sx < 1:
30103010
cbook.warn_deprecated(
30113011
"3.3", message="normalize=None does not normalize "
3012-
"if the sum is less than 1 but this behavior"
3012+
"if the sum is less than 1 but this behavior "
30133013
"is deprecated since %(since)s until %(removal)s. "
30143014
"After the deprecation "
30153015
"period the default value will be normalize=True. "

0 commit comments

Comments
 (0)