I’m trying to plot multiple time serie lines with data source from a DataFrame. Say the DataFrame has a datetime column called ‘time’ and some other columns ‘x1’, ‘x2’ , ‘x3’ which I need to plot.
I can’t find an example demonstrating multi_line and DataSource. I tried:
Regarding the warning, as of Bokeh 0.12.3 if you provide any of the glyph fields from an explicit user-supplied data source (as above) then you have to provide *all* of them that way (otherwise very unexpected behaviour could occur).
I'm trying to plot multiple time serie lines with data source from a DataFrame. Say the DataFrame has a datetime column called 'time' and some other columns 'x1', 'x2' , 'x3' which I need to plot.
I can't find an example demonstrating multi_line and DataSource. I tried:
Regarding the warning, as of Bokeh 0.12.3 if you provide any of the glyph fields from an explicit user-supplied data source (as above) then you have to provide all of them that way (otherwise very unexpected behaviour could occur).
I’m trying to plot multiple time serie lines with data source from a DataFrame. Say the DataFrame has a datetime column called ‘time’ and some other columns ‘x1’, ‘x2’ , ‘x3’ which I need to plot.
I can’t find an example demonstrating multi_line and DataSource. I tried:
dfSource.data = dfSource.from_df(…)
f1 = figure(plot_width=900, plot_height=400, x_axis_type=‘datatime’)