interaction_button.py¶
from bokeh.io import output_file, show
from bokeh.layouts import widgetbox
from bokeh.models.widgets import Button
output_file("button.html")
button = Button(label="Foo", button_type="success")
show(widgetbox(button))
bokeh Commandsfrom bokeh.io import output_file, show
from bokeh.layouts import widgetbox
from bokeh.models.widgets import Button
output_file("button.html")
button = Button(label="Foo", button_type="success")
show(widgetbox(button))