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