summaryrefslogtreecommitdiff
path: root/silx/gui/plot/items/_pick.py
diff options
context:
space:
mode:
Diffstat (limited to 'silx/gui/plot/items/_pick.py')
-rw-r--r--silx/gui/plot/items/_pick.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/silx/gui/plot/items/_pick.py b/silx/gui/plot/items/_pick.py
index 4ddf4f6..8c8e781 100644
--- a/silx/gui/plot/items/_pick.py
+++ b/silx/gui/plot/items/_pick.py
@@ -48,7 +48,7 @@ class PickingResult(object):
self._indices = None
else:
# Indices is set to None if indices array is empty
- indices = numpy.array(indices, copy=False, dtype=numpy.int)
+ indices = numpy.array(indices, copy=False, dtype=numpy.int64)
self._indices = None if indices.size == 0 else indices
def getItem(self):