I’ve run the examples/glyphs/buttons_server.py example and it works fine using the following process
start “bokeh serve” in one terminal window
execute “python buttons_server.py” in another terminal window
then a browser window starts up with all of the defined buttons
button actions print to the 2nd terminal window as expected given the print statements in the callback functions
Here is my question: I would like to use a toggle button such that when active = True the button text is “Start” and the button color is green and when active = False the button text is “Stop” and the button color is red. I’ve been through the documentation and docstring (i.e., help(bokeh.models.widgets.Toggle)), but haven’t been able to figure out how to do this. Any suggestions on where I ought to look next?