I’m currently not being able to run any of the plotting examples that use bokeh-server.
On the following lines:
p = figure(…)
p.line(x+1, y+1, alpha=0)
‘NoneType’ object has no attribute ‘line’
Debugging inside figure and curdoc() I see that the execution of doc = request.bokeh_server_document raises a RuntimeError exception with text ‘working outside of request context’
I’m using this directly from command line with the source file provided, running python 3.4.2, flask 0.10.1 and bokeh 0.6.1.
Any idea of what I’m doing wrong ?