☰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

Change Plot on Different Wiget Value

Community Supportcustomjs
zia_kayani
zia_kayani

I want a totally different plot, for different dates present in a Select Widget.

Like a heatmap for a day and then a scatter chart for another day using CustomJS.

But I couldn’t find the way. The only way I could find was using TABs, But the values are two many I want to show them in a dropdown, not possible to show all tabs.

⌁   Link to post
p-himik
p-himik

When you call a function like plot.circle, it returns a glyph renderer. It has a boolean property called visible. I would just plot everything at once with some glyphs having visible=False and then toggle visible via a callback (Python or JS - depending on whether you’re using bokeh serve).

⌁   Link to post

End of archived discussion · Replies are disabled