
OS: WSL
Python: 3.7
Bokeh: 2.3.1
I have the following dashboard:
from bokeh.io import curdoc
from bokeh.models.widgets.sliders import RangeSlider
rs = RangeSlider(start=0, end=5, value=(0, 5))
def on_change(attr, old, new):
print("value changed")
rs.on_change("value", on_change)
curdoc().add_root(rs)
When I try to change the value (using the UI) I get the following error:
bokeh.core.property.bases.DeserializationError: Tuple(Float, Float) expected a list, got [1, 5]