summaryrefslogtreecommitdiff
path: root/silx/sx/_plot.py
diff options
context:
space:
mode:
Diffstat (limited to 'silx/sx/_plot.py')
-rw-r--r--silx/sx/_plot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/silx/sx/_plot.py b/silx/sx/_plot.py
index 9ef52a1..74ebe84 100644
--- a/silx/sx/_plot.py
+++ b/silx/sx/_plot.py
@@ -548,7 +548,7 @@ class _GInputHandler(roi.InteractiveRegionOfInterestManager):
"""
if isinstance(roi, roi_items.PointROI):
# Only handle points
- roi.setLabel('%d' % len(self.__selections))
+ roi.setName('%d' % len(self.__selections))
self.__updateSelection(roi)
roi.sigRegionChanged.connect(self.__regionChanged)