I posted this to stackoverflow, (https://stackoverflow.com/questions/44643276/bokeh-line-plot-color-in-columndatasource) but figured maybe I would get a faster response here.
I would like to set the color of a Bokeh line plot (Bokeh version 0.12.5) using a ColumnDataSource. However, with a line plot nothing is plotted. On the other hand, if I use a circle renderer everything works
as expected. I attached an example program with both a line plot and a circle plot and you can comment/uncomment the appropriate lines to see the plotting behavior. I also included a line of code for a line plot where the color is explicitly defined and the plot works perfectly. I have seen a couple similar questions asked but could not find a solid solution to this problem or determine if I am just doing something fundamentally wrong. Thanks for your help.
line_plot_color.py (718 Bytes)