我正在使用Jupyter笔记本电脑5.7.4 bokeh 1.0.4,Firefox 63.0.3 python3.7,我想使用bokeh获得自动补全功能,以获得一些交互式可视化效果。
from bokeh.models.widgets import AutocompleteInput
from IPython.display import HTML
input_widget = AutocompleteInput(completions=cList1, title='FTTH Keys', value='value')
l = layout([[input_widget],], sizing_mode='fixed')
curdoc().add_root(l)
curdoc().title = 'UI Test'
show(l)
当我写字符时一切都很好,但是当我想从自动完成列表中选择一个元素时,该单词在输入框中没有完成。