@@ -2943,15 +2943,15 @@ def pie(self, x, explode=None, labels=None, colors=None,
2943
2943
Draw a shadow beneath the pie.
2944
2944
2945
2945
normalize: None or bool, default: None
2946
- ``pie()`` used to draw a partial pie if ``sum(x) < 1``. This
2947
- behavior is deprecated and will change to always normalizing the
2948
- values to a full pie by default. If you want to draw a partial pie,
2949
- please pass ``normalize=False`` explicitly.
2950
2946
When *True*, always make a full pie by normalizing x so that
2951
2947
``sum(x) == 1``. When *False*, make a partial pie.
2952
2948
When *None*, gives the current behavior and warns if
2953
2949
``sum(x) < 1``. Please note that passing None to this parameter is
2954
2950
deprecated.
2951
+ ``pie()`` used to draw a partial pie if ``sum(x) < 1``. This
2952
+ behavior is deprecated and will change to always normalizing the
2953
+ values to a full pie by default. If you want to draw a partial pie,
2954
+ please pass ``normalize=False`` explicitly.
2955
2955
2956
2956
labeldistance : float or None, default: 1.1
2957
2957
The radial distance at which the pie labels are drawn.
@@ -3025,11 +3025,11 @@ def pie(self, x, explode=None, labels=None, colors=None,
3025
3025
if normalize is None :
3026
3026
if sx < 1 :
3027
3027
cbook .warn_deprecated (
3028
- "3.1 " , message = "normalize=None does not normalize if "
3029
- "the sum is less than 1 "
3030
- "but this behavior is deprecated "
3031
- "since %(since)s. After the deprecation period "
3032
- "the default value will be normalize=True. "
3028
+ "3.3 " , message = "normalize=None does not normalize "
3029
+ "if the sum is less than 1 but this behavior "
3030
+ "is deprecated since %(since)s until %(removal)s. "
3031
+ "After the deprecation "
3032
+ "period the default value will be normalize=True. "
3033
3033
"To prevent normalization pass normalize=False " )
3034
3034
else :
3035
3035
normalize = True
0 commit comments