Thanks Bryan, I will check the ref. which you provided, thank you so much.
Griffith Chen於 2018年7月29日星期日 UTC+8下午2時15分04秒寫道:
···
Hi All,
I’m new in Bokeh and I make some project with node analyzer for interesting. And I find this functionality as below,
I think that the slider with play button could make my project more easily to use, from slider side is work fine,
but when implement the play button function, I meet some trouble with call back function. I try some test,
found that there has no call-back trigger when I click the button, any wrong with my code as below?
Thank you very much.
Python 2.7.12
Bokeh Version: 0.12.14
----------- Testing Code-------------
button = Button(label=‘press me’)
def update():
global button
button.label = “Good”
print “Hi”
button.on_click(update)
show(widgetbox(button))