I am creating a web interface to start and stop some automated testing. The testing uses test stations where a test station can be free or actively testing. I would like to have a tab on my web interface which shows the free test stations. The free tab allows the user to commission a new test. Then the active tab shows the tests that are active and allows the user to graph the test results and stop the active test.
I have tried to use the tabs interface with code below but it does not seem to work. Is there another way to do this?
from bokeh.models.widgets import Panel, Tabs,Toggle
from bokeh.io import output_file, output_server, show
First, I would say the use of output_server is to be discouraged. It is inherently limited in some ways, compared to the standard way of creating apps. I would say there is a decent chance it will be deprecated at some point, which is one reason we don't really demonstrate or promote its use explicitly.
Please study the examples in the examples/apps directory of the repo:
These all have the same basic structure, and utilize best practices for Bokeh app creation.
Thanks,
Bryan
···
On Sep 12, 2016, at 7:05 AM, Trampas Stern <[email protected]> wrote:
I am creating a web interface to start and stop some automated testing. The testing uses test stations where a test station can be free or actively testing. I would like to have a tab on my web interface which shows the free test stations. The free tab allows the user to commission a new test. Then the active tab shows the tests that are active and allows the user to graph the test results and stop the active test.
I have tried to use the tabs interface with code below but it does not seem to work. Is there another way to do this?
from bokeh.models.widgets import Panel, Tabs,Toggle
from bokeh.io import output_file, output_server, show
from bokeh.plotting import figure
On Sep 12, 2016, at 7:05 AM, Trampas Stern <[email protected]> wrote:
I am creating a web interface to start and stop some automated testing. The testing uses test stations where a test station can be free or actively testing. I would like to have a tab on my web interface which shows the free test stations. The free tab allows the user to commission a new test. Then the active tab shows the tests that are active and allows the user to graph the test results and stop the active test.
I have tried to use the tabs interface with code below but it does not seem to work. Is there another way to do this?
from bokeh.models.widgets import Panel, Tabs,Toggle
from bokeh.io import output_file, output_server, show
from bokeh.plotting import figure