Skip to content

Commit d79d6bb

Browse files
committed
Remove un-used code
1 parent 02cfe85 commit d79d6bb

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6091,12 +6091,7 @@ def hist(self, x, bins=None, range=None, density=None, weights=None,
60916091
m = m.astype(float) # causes problems later if it's an int
60926092
if mlast is None:
60936093
mlast = np.zeros(len(bins)-1, m.dtype)
6094-
if density and not stacked:
6095-
db = np.diff(bins)
6096-
m = (m.astype(float) / db) / m.sum()
60976094
if stacked:
6098-
if mlast is None:
6099-
mlast = np.zeros(len(bins)-1, m.dtype)
61006095
m += mlast
61016096
mlast[:] = m
61026097
tops.append(m)

0 commit comments

Comments
 (0)