@@ -6813,7 +6813,7 @@ def hist2d(self, x, y, bins=10, range=None, density=None, weights=None,
6813
6813
considered outliers and not tallied in the histogram.
6814
6814
6815
6815
density : boolean, optional
6816
- If False, the default, returns the number of samples in each bin.
6816
+ If False, the default, plots and returns the number of samples in each bin.
6817
6817
If True, returns the probability *density* function at the bin,
6818
6818
``bin_count / sample_count / bin_area``.
6819
6819
Default is ``None`` for both *normed* and *density*. If either is
@@ -6885,8 +6885,8 @@ def hist2d(self, x, y, bins=10, range=None, density=None, weights=None,
6885
6885
"simultaneously. Please only use 'density', "
6886
6886
"since 'normed' is deprecated." )
6887
6887
if normed is not None :
6888
- cbook .warn_deprecated ("2 .1" , name = "'normed'" , obj_type = "kwarg" ,
6889
- alternative = "'density'" , removal = "3.1 " )
6888
+ cbook .warn_deprecated ("3 .1" , name = "'normed'" , obj_type = "kwarg" ,
6889
+ alternative = "'density" )
6890
6890
6891
6891
normed = bool (density ) or bool (normed )
6892
6892
h , xedges , yedges = np .histogram2d (x , y , bins = bins , range = range ,
0 commit comments