Skip to content

Commit 0c4cfbe

Browse files
authored
Update categorize.py
1 parent 9b4b790 commit 0c4cfbe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

histogrammar/primitives/categorize.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ def _numpy(self, data, weights, shape):
311311
self.bins[x]._numpy(None, c, [None])
312312
else:
313313
# all other cases ...
314-
selection = np.empty(q.shape, dtype=np.bool)
314+
selection = np.empty(q.shape, dtype=bool)
315315
uniques, inverse = np.unique(q, return_inverse=True)
316316

317317
# no possibility of exception from here on out (for rollback)

0 commit comments

Comments
 (0)