☰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

Button as filter mechanism

Community Support
Arthur_Dijkstra
Arthur_Dijkstra

LS,
I would like to use radio buttons to select selections of my data. Suppose I have a dataframe with columns : Date, X_value, and Y_value. Based on these I build a scatterplot.

Below the plot I would like to have buttons for each month. Then in the scatterplot I would like to see only the data the correspondents to the month of the data.

Any example with a button as data selector would be nice :wink:

Thnx

⌁   Link to post
Waqar_Malik
Waqar_Malik

Here’s a discussion using other widgets (Select) to do the same thing.

https://groups.google.com/a/continuum.io/forum/#!searchin/bokeh/waqy/bokeh/2rCCRIyXtk8/LaroNZMkAgAJ

···

On Thursday, October 15, 2015 at 5:04:25 AM UTC-7, Arthur Dijkstra wrote:

LS,
I would like to use radio buttons to select selections of my data. Suppose I have a dataframe with columns : Date, X_value, and Y_value. Based on these I build a scatterplot.

Below the plot I would like to have buttons for each month. Then in the scatterplot I would like to see only the data the correspondents to the month of the data.

Any example with a button as data selector would be nice :wink:

Thnx

⌁   Link to post
Waqar_Malik
Waqar_Malik

Here’s a discussion using other widgets (Select) to do the same thing.

https://groups.google.com/a/continuum.io/forum/#!searchin/bokeh/waqy/bokeh/2rCCRIyXtk8/LaroNZMkAgAJ

···

On Thursday, October 15, 2015 at 5:04:25 AM UTC-7, Arthur Dijkstra wrote:

LS,
I would like to use radio buttons to select selections of my data. Suppose I have a dataframe with columns : Date, X_value, and Y_value. Based on these I build a scatterplot.

Below the plot I would like to have buttons for each month. Then in the scatterplot I would like to see only the data the correspondents to the month of the data.

Any example with a button as data selector would be nice :wink:

Thnx

⌁   Link to post

End of archived discussion · Replies are disabled