☰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

close browser window using bokeh

Community Support
send2jmuller
send2jmuller

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

⌁   Link to post
Bryan
Bryan

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, send2jmuller@gmail.com 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 bokeh+unsubscribe@continuum.io.
To post to this group, send email to bokeh@continuum.io.
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\.

⌁   Link to post

End of archived discussion · Replies are disabled