Basically, I have a python script (can be more than one) each generates a plot. I have a common instance of document (recevied from curdoc())**in each of the scripts so that all plots are stored in one document. To view the plots for a given document, I am using session = push_session(curdoc()). And I can see the plot using session.show().
In this case, the problem is: I can’t access the plots without the long session key. i.e. opening http://localhost:5006/?bokeh-session-id= gives me the plot. But Opening an URL http://localhost:5006/ doesn’t. Since, I am using sessions, I expect this to work this way. Anyone can help with another possible ways to do this?
Example of the script: https://github.com/kartikp1995/gr-htmlgui/blob/master/examples/top_block.py
Don’t worry about technical details. Just see that I am using self.session.show to view the HTML file.