

def value(self, layer=None, view=None):
    try:
        return float(view._widget.text())
    except ValueError:
        return None

dataset/ETHPy150Open glue-viz/glue/glue/viewers/custom/qt/custom_viewer.py FloatElement.value/VarMisuse@25/27 `self`->`view`