☰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

Redraw plot into same browser tab after show() is called

Community Support
Bryan
Bryan

Bokeh show function just calls the Python built-in webbrowser.open function. So it can’t do anything that Python built-in can’t also do. It does appear that at least with some Python versions if you pass new=0 to webbrowser.open, then

the url is opened in the same browser window if possible.

which may mean in the existing raised tab. So you could potentially try generating HTML file output with Bokeh passing that to webbrowser.open yourself (and also passing new=0). I would say that this approach seems like it might fragile or platform/browser dependent.

⌁   Link to post

End of archived discussion · Replies are disabled