def remove_data_from_combo(self, data):
        combo = self.ui.displayDataCombo
        pos = combo.findText(data.label)
        if pos >= 0:
            combo.removeItem(pos)
Remove a data object from the combo box, if present
dataset/ETHPy150Open glue-viz/glue/glue/viewers/image/qt/viewer_widget.py/ImageWidgetBase.remove_data_from_combo