We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6722bb8 + 4228dea commit 774c4beCopy full SHA for 774c4be
Orange/widgets/data/utils/histogram.py
@@ -359,9 +359,7 @@ def _get_colors(self):
359
360
bins = np.arange(self.n_bins)[:, np.newaxis]
361
edges = self.edges if self.attribute.is_discrete else self.edges[1:-1]
362
- # Need to digitize on `right` here so the samples will be assigned
363
- # to the correct bin for coloring
364
- bin_indices = ut.digitize(self.x, bins=edges, right=True)
+ bin_indices = ut.digitize(self.x, bins=edges)
365
mask = bin_indices == bins
366
367
colors = []
0 commit comments