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

Skip to content

Commit ab1765d

Browse files
committed
changes upon requests
1 parent 61a552c commit ab1765d

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
@@ -6838,6 +6838,9 @@ def hist2d(self, x, y, bins=10, range=None, density=None, weights=None,
68386838
68396839
normed : bool, optional, default: None
68406840
Deprecated; use the density keyword argument instead.
6841+
Numpy 1.15 introduced a 'density' kwarg to ``hist2d``. Even though
6842+
Numpy 1.15 isn't required, 'density' kwarg is introduced
6843+
and passed as 'normed' to ``hist2d``.
68416844
68426845
Returns
68436846
-------
@@ -6880,9 +6883,6 @@ def hist2d(self, x, y, bins=10, range=None, density=None, weights=None,
68806883
keyword argument. Likewise, power-law normalization (similar
68816884
in effect to gamma correction) can be accomplished with
68826885
`.colors.PowerNorm`.
6883-
- Numpy 1.15 introduced a 'density' kwarg to ``hist2d``. Even though
6884-
Numpy 1.15 isn't required, 'density' kwarg is introduced
6885-
and passed as 'normed' to ``hist2d``.
68866886
"""
68876887

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

0 commit comments

Comments
 (0)