I am making a bokeh server app similar to the following example:
I am able to make the app which updates data with changes in the widget. However, I am not able to change the colour and line width of a line graph. The code for the graph is shown below. Could anyone please let me know how to change colour and line width of the line graph? After adding line_width and color command, the graph doesn’t appear.
source = ColumnDataSource(data=dict(x=time_step,y=load,l=,c=["blue"])) load_graph = Figure(plot_height=500, plot_width=600, title="Demand") load_graph.line('x','y',source=source,line_width ='l', color='c')