def validate(self, value):
        super(Percent, self).validate(value)

        if not (value is None or value <= 1.0 <= 0.0):
            raise ValueError("expected a value in range [0, 1], got %r" % value)
dataset/ETHPy150Open bokeh/bokeh/bokeh/core/properties.py/Percent.validate/swapped operands of `<=`