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

Skip to content

Commit 2bf1889

Browse files
committed
Switch to code block python
1 parent 407ae4b commit 2bf1889

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6891,9 +6891,9 @@ def hist2d(self, x, y, bins=10, range=None, density=None, weights=None,
68916891
cbook.warn_deprecated("3.1", name="'normed'", obj_type="kwarg",
68926892
alternative="'density")
68936893

6894-
normed = bool(density) or bool(normed)
6894+
density = bool(density) or bool(normed)
68956895
h, xedges, yedges = np.histogram2d(x, y, bins=bins, range=range,
6896-
normed=normed, weights=weights)
6896+
density=density, weights=weights)
68976897

68986898
if cmin is not None:
68996899
h[h < cmin] = None

0 commit comments

Comments
 (0)