

def value(self, layer=None, view=None):
    return layer.params[self.ui.currentText()]

dataset/ETHPy150Open glue-viz/glue/glue/viewers/custom/qt/custom_viewer.py ChoiceElement.value/VarMisuse@19/20 `self`->`layer`