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

Skip to content

Commit e71472a

Browse files
Update lib/matplotlib/axes/_axes.py
Co-authored-by: Bruno Beltran <[email protected]>
1 parent 0987e02 commit e71472a

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2949,12 +2949,10 @@ def pie(self, x, explode=None, labels=None, colors=None,
29492949
When *None*, defaults to *True* if ``sum(x) > 0`` and *False* if
29502950
``sum(x) < 1``.
29512951
2952-
Please note that passing None to this parameter is deprecated.
2953-
2954-
``pie()`` used to draw a partial pie if ``sum(x) < 1``. This
2955-
behavior is deprecated and will change to always normalizing the
2956-
values to a full pie by default. If you want to draw a partial pie,
2957-
please pass ``normalize=False`` explicitly.
2952+
Please note that the previous default value of *None* is now
2953+
deprecated, and the default will change to *True* in the next
2954+
release. Please pass ``normalize=False`` explicitly if you want to
2955+
draw a partial pie.
29582956
29592957
labeldistance : float or None, default: 1.1
29602958
The radial distance at which the pie labels are drawn.

0 commit comments

Comments
 (0)