Fixed a bug in histogram

master
pbrod 9 years ago
parent c8a62ddbf0
commit 8337b60531

@ -3050,7 +3050,7 @@ def plot_histgrm(data, bins=None, range=None, # @ReservedAssignment
numpy.histogram 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) return plotbackend.plot(xx, yy, lintype, limits, limits * 0)

Loading…
Cancel
Save