The easiest way to share bokeh plot is when you write standalone html documents. But those are not always the most practical as they need to include all the data you are showing and you also need to write the callbacks with CustomJS and not python. It’s also the easiest to put on the web as it’s just an html file you place it wherever in your public_html directory and it’s out there on the internet. You can use something like that to save the plot in standalone html:
from bokeh.resources import CDN
from bokeh.embed import file_html
write a html bokeh plot:
- ‘save’ is the full path to the html file
- ‘tab’ is the string that will appear in the browser tab when oppening the html file
- ‘bok_obj’ is any bokeh object (figure,gridplot,tabs etc.)
The second easiest way is to have the people you share your apps with install bokeh themselves so they can have a look locally with bokeh serve --show, you’d have to send them the python codes and relevant data sources.
The third way, deploy a bokeh server online, is not easy as you’ll have to learn about server configuration if you don’t already know about that. There is not a simple example on the bokeh website that shows how to deploy online a minimalistic “hello world” kind of app.