I am trying to make my own custom tool and I keep getting
Error: Model ‘Custom’ does not exist. This could be due to a widget
or a custom model not being registered before first usage.
So I just assumed that I’m doing something wrong and tried the example from the custom extensions guide and I got the same error message.
Moreover, I tried this with both Bokeh 0.13.0 and 1.0.1 and the issue is still there.
The full code is:
from bokeh.core.properties import String, Instance
from bokeh.models import LayoutDOM, Slider
from bokeh.io import show, output_file
from bokeh.layouts import column
text = String(default="Custom text") slider = Instance(Slider)
slider = Slider(start=0, end=10, step=0.1, value=0, title=“value”)
custom = Custom(text=“Special Slider Display”, slider=slider)
layout = column(slider, custom)
and I run it with:
Am I doing something wrong? Can you point me at least to where should I look?