bokeh interaction of two datatables

27 views
Skip to first unread message

Fabian Braennstroem

unread,
Jun 9, 2017, 7:57:24 AM6/9/17
to pyd...@googlegroups.com
Hello,

I did take a look at bokeh the last weeks and like it a lot.

At the moment I try to write a small app, where I would like to create a few plots based on the selection of two DataTables.

Before this, I created a small test case, where I added two DataTables and one Button (see attached example; run with : bokeh serve datatable_3_v1.py --show ).

The first idea was to react to the button on_click event and to get the selected data to the console. This works quite good.


Though, I am looking for a way to update the second table based on the selected rows from the first table.

E.g. I select in the 1st table row number 3 and 5. 
After the button press,  in the 2nd table only the rows 3 and 5 should be shown.


I would be great if you have a suggestion to me!?
As another step I would like to remove the button and would like to update the 2nd table as soon as I made some selection in the 1st table.

Best Regards
Fabian

datatable_3_v1.py

Dennis O'Brien

unread,
Jun 11, 2017, 7:56:23 PM6/11/17
to PyData
Hi Fabian,

I'd recommend asking this question in the Bokeh google group.  https://groups.google.com/a/continuum.io/forum/#!forum/bokeh

It's a very active group and there have been some discussions relevant to your question.

cheers,
Dennis

Fabian

unread,
Jun 12, 2017, 12:29:24 AM6/12/17
to pyd...@googlegroups.com, Dennis O'Brien

Hi Dennis,

oh, good hint, I really missed this. Thanks!

Best Regards

Fabian

--
You received this message because you are subscribed to the Google Groups "PyData" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pydata+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages