diff --git a/bliss/flint/helper/plot_interaction.py b/bliss/flint/helper/plot_interaction.py index ece8eda3552d43cc4e9c792201aa29468f347c6d..86a51bbcff0c0350dc7cde10f70eda31706ef0cf 100755 --- a/bliss/flint/helper/plot_interaction.py +++ b/bliss/flint/helper/plot_interaction.py @@ -487,7 +487,7 @@ class ShapesSelector(Selector): w, h = map(int, map(round, shape["size"])) roi = RectangleROI() roi.setGeometry(origin=(x, y), size=(w, h)) - roi.setName(shape.get["label"]) + roi.setName(shape["label"]) elif isinstance(shape, lima_roi.RoiProfile): if shape.mode == "horizontal": roi = extra_rois.LimaHProfileRoi()