

def set_value(self, val):
    '\n        Set the numerical value of the slider\n        '
    v = (((1.0 * (val - self._min)) / self._ptp) * 100)
    v = min(max(int(v), 0), 100)
    self._slider.setValue(val)

dataset/ETHPy150Open glue-viz/glue/glue/viewers/custom/qt/custom_viewer.py LabeledSlider.set_value/VarMisuse@61/87 `v`->`val`