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
Any hint?
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…
Here a slightly more advanced version with a text input box, using embed.autoload_server
Same story, the version I attached only works the first time (the plot also refreshes correctly when the seed text box is updated).
But if I stop the loop (Ctrl+C) and start it again. The drawing area of the plot will be blank.
Now something new : if I close the plot (clicking on “Close All Plots”) then execute the script again, the plot will show up correctly again.
I’m going to look for a way of doing that automatically.
The strange thing is that I did not encounter this problem in the bokeh examples (e.g. taylor_server.py runs fine regardless of how often I started it)
Would be great to hear what you think might hide under this…
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
Any hint?
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…
Ok, apparently this has to do with the initialization of the Circle Glyph.
Passing a few arguments like radius=0.1, fill_color=‘blue’ solves the issue.
Ok, apparently this has to do with the initialization of the Circle Glyph.
Passing a few arguments like radius=0.1, fill_color='blue' solves the issue.
I guess this is a bug.
Ok, apparently this has to do with the initialization of the Circle Glyph.
Passing a few arguments like radius=0.1, fill_color=‘blue’ solves the issue.
I guess this is a bug.
–
You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].