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

Skip to content

Commit efb6cb2

Browse files
committed
changes upon requests
1 parent 2bf1889 commit efb6cb2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6836,6 +6836,9 @@ def hist2d(self, x, y, bins=10, range=None, density=None, weights=None,
68366836
68376837
normed : bool, optional, default: None
68386838
Deprecated; use the density keyword argument instead.
6839+
Numpy 1.15 introduced a 'density' kwarg to ``hist2d``. Even though
6840+
Numpy 1.15 isn't required, 'density' kwarg is introduced
6841+
and passed as 'normed' to ``hist2d``.
68396842
68406843
Returns
68416844
-------
@@ -6878,9 +6881,6 @@ def hist2d(self, x, y, bins=10, range=None, density=None, weights=None,
68786881
keyword argument. Likewise, power-law normalization (similar
68796882
in effect to gamma correction) can be accomplished with
68806883
`.colors.PowerNorm`.
6881-
- Numpy 1.15 introduced a 'density' kwarg to ``hist2d``. Even though
6882-
Numpy 1.15 isn't required, 'density' kwarg is introduced
6883-
and passed as 'normed' to ``hist2d``.
68846884
"""
68856885

68866886
if density is not None and normed is not None:

0 commit comments

Comments
 (0)