close browser window using bokeh

Is there a preferred way to close the browser tab/window that a bokeh app opens?
Can it be done via Python or is Javascript the way?

The scenario is that a main app Foo calls another app Bar to do some plotting .

When Bar is done I want it’s browser window to close.

thanks

Hi,

Bokeh definitely does not have any opinions about this or mechanisms to do it itself. The session will close when the browser window/tab closes, I'd say close it however is convenient for you.

Thanks,

Bryan

···

On Oct 5, 2017, at 09:31, [email protected] wrote:

Is there a preferred way to close the browser tab/window that a bokeh app opens?
Can it be done via Python or is Javascript the way?

The scenario is that a main app Foo calls another app Bar to do some plotting .
When Bar is done I want it's browser window to close.

thanks

--
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/29859c65-b9a9-4268-bcf0-b657e04cfb2a%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.