Browse code

remove "dimension=1" from holoviews.operation.histogram

Bas Nijholt authored on 08/04/2020 22:10:38
Showing 1 changed files
... ...
@@ -137,7 +137,7 @@ class AverageLearner(BaseLearner):
137 137
             return hv.Histogram([[], []])
138 138
         num_bins = int(max(5, sqrt(self.npoints)))
139 139
         vals = hv.Points(vals)
140
-        return hv.operation.histogram(vals, num_bins=num_bins, dimension=1)
140
+        return hv.operation.histogram(vals, num_bins=num_bins)
141 141
 
142 142
     def _get_data(self):
143 143
         return (self.data, self.npoints, self.sum_f, self.sum_f_sq)