Python Flask App With Interactive Bokeh Plots
I have a Flask App in which my plots are created using Bokeh in the controller python code with below commands: p = figure(tools = TOOLS, x_axis_label ...) p.line(....) script, div
Solution 1:
Find answer for the first question below:
p.line(.....)
slider1 = Slider(start=0, end = 100, value = y[j] / bth, step = 1, title = "Mag")
slider2 = Slider(start=0, end = 100, value = y1[j] / bth, step = 1, title = "test")
script, div = components({"p": p, "slider1":vform(slider1), "slider2":vform(slider2)})
Post a Comment for "Python Flask App With Interactive Bokeh Plots"