From 8337b605316b3f7a15ff448115d4c20c28e497bf Mon Sep 17 00:00:00 2001 From: pbrod Date: Sun, 26 Jun 2016 00:08:54 +0200 Subject: [PATCH] Fixed a bug in histogram --- wafo/misc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wafo/misc.py b/wafo/misc.py index 017cf49..6d0e44c 100644 --- a/wafo/misc.py +++ b/wafo/misc.py @@ -3050,7 +3050,7 @@ def plot_histgrm(data, bins=None, range=None, # @ReservedAssignment numpy.histogram ''' - xx, yy, limits = _histogram(data, bins, normed, weights) + xx, yy, limits = _histogram(data, bins, range, normed, weights, density) return plotbackend.plot(xx, yy, lintype, limits, limits * 0)