☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

Is it possible to have two different opperations on multiple button clicks

Community Support
Vivek_Dwivedi
Vivek_Dwivedi

I am currently using the Bokeh environment to plot streaming data and also use buttons to control external peripherals. Is it possible on the same button to perform an operation on the first click and perform another operation on the second click?

Thanks.

–V

⌁   Link to post
Vivek_Dwivedi
Vivek_Dwivedi

Never mind, I can use the toggle widget!!!

···

Sent from my iPhone

On Jan 16, 2017, at 6:01 PM, Vivek Dwivedi vivek.h.d@gmail.com wrote:

I am currently using the Bokeh environment to plot streaming data and also use buttons to control external peripherals. Is it possible on the same button to perform an operation on the first click and perform another operation on the second click?

Thanks.

–V

–

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+unsubscribe@continuum.io.

To post to this group, send email to bokeh@continuum.io.

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/5babad86-72c5-4801-b4aa-4a1c09b84d5c%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.

⌁   Link to post

End of archived discussion · Replies are disabled