Serving interactive bokeh figure on heroku

前端 未结 2 1527
没有蜡笔的小新
没有蜡笔的小新 2020-12-05 08:29

I\'m trying to serve an interactive bokeh figure via heroku. The figure I\'m trying to have served is essentially equivalent to this one (example, code). I\'m

2条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-05 09:13

    The accepted answer didn't work for me as written (likely due to a bokeh version difference), but since this is still one of the top hits for this question, here is my minor modification that did work:

    web: bokeh serve --port=$PORT --num-procs=0 --allow-websocket-origin=myapp.herokuapp.com --address=0.0.0.0 --use-xheaders myapp.py
    

提交回复
热议问题