How to make Bokeh work with a REST api backend instead of bokeh-serve?
问题 How can I make Bokeh work with my own REST api backend using CustomJS instead of bokeh-serve? components() do not seem to render inputs and inputs seem to come always with a need to run bokeh-serve. 回答1: Barnabas, it is basically impossible to diagnose a problem if you do not provide actual code and describe in extreme detail what you have already tried. FWIW here is a minimal script that renders a Bokeh Button in a Flask app: import flask from bokeh.embed import components from bokeh.core