☰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

Difference between standalone_embed and flask_embed.py

Community Support
p-himik
p-himik

I am not sure what to answer to be honest. Everything, except for the Bokeh document modification part? One embeds Bokeh in a Flask application, the other uses Bokeh as a standalone library.

⌁   Link to post
Bryan
Bryan

To be honest, standalone_embed.py might better be named tornado_embed.py since it demonstrates how to embed inside your own Tornado app. I guess the idea there was that Bokeh server is already based off Tornado, so this was a “standalone” tornado app and not bokeh serve but that’s probably just confusing. I’d +1 any PR to rename it.

⌁   Link to post
sameerCoder
sameerCoder

Hi,
Actually what i think is both the flask_embede.py & standalone_embed.py are for getting your dynamic plot working in webpage format.
For only static bokeh plot you can do plot embedding part by using standalonehtml & component way.
Coming to above mention links
if we add standalone_embed.py + flask = flask_embed.py (some how as tornado we have to use in both example for dynamic property.)
so i think standalone_embed.py is more than enough to get our plot acting dyanmic with web based.
Thank you.

⌁   Link to post

End of archived discussion · Replies are disabled