Hi, thanks for the good work, this project is impressive and I can think of many great uses in the climate science world.
I’m in the process of learning how to use it, and I just bumped into something weird.
I’ve put together a simple scatter plot example using Glyphs to illustrate that (attached).
$ bokeh-server # is launched, then in a new terminal
$ python test_server.py
Then visiting the link http://localhost:5006/bokeh/doc/…, everything looks as expected.
But if I execute
python test_server.py a second time, the plot becomes blank (well, only the data part of it, the title and - I also tried - the tools still appears).
Restarting the bokeh server does not help.
I need to change the document name (session.use_doc) to make it work.
I could put a 10 digits random number generator for the document name, but there is probably a better solution
Sorry if I am missing something obvious, I am not at all familiar with web protocols, and already spend some time tracking down the problem to document name…
test_server.py (962 Bytes)