From 25a80723c0c5b477779bb82beec4d47311b1c175 Mon Sep 17 00:00:00 2001 From: Philip Eisenlohr Date: Thu, 20 Dec 2018 17:09:53 -0500 Subject: [PATCH] numpy interface changed to be strict about 2D array shape in histogram --- processing/post/binXY.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/processing/post/binXY.py b/processing/post/binXY.py index 726fca39f..ea73d13b9 100755 --- a/processing/post/binXY.py +++ b/processing/post/binXY.py @@ -120,7 +120,7 @@ for name in filenames: delta = minmax[:,1]-minmax[:,0] (grid,xedges,yedges) = np.histogram2d(table.data[:,0],table.data[:,1], bins=options.bins, - range=minmax[0:2,0:2], + range=minmax[:2], weights=None if options.weight is None else table.data[:,2]) if options.normCol: