Good Day,
I am trying to plot multiple live streaming data points in a single bokeh plot but i’m not really sure how i should go about doing it.
I have managed to get two live stream data to be plotted simultaneously but i’m trying to get them into the same figure for comparison.
I would appreciate it if someone could point me in the right direction. Thanks! 
- below is the snippet of what i have tried to do, two separate live plots.
# plot settings
plot_stream1 = figure(title="Test Stream 1")
plot_stream1.line(x, y, color="blue", name='Sample Streaming Data 1')
plot_stream2 = figure(title=“Test Stream 2”)
plot_stream2.line(x, y, color=“red”, name=‘Sample Streaming Data 2’)
# plot live streaming data
show(VBox(plot_stream1, plot_stream2))
# set up glyph renderer
ds1 = plot_stream1.select({"type": GlyphRenderer})[0].data_source
ds2 = plot_stream2.select({"type": GlyphRenderer})[0].data_source
while True:
counter += 1
# get new data and time-stamp
data = test_data[counter]
time_point = time.time() - start_time
# update data into ds
ds1.data["x"].append(time_point)
ds1.data["y"].append(data)
ds2.data["x"].append(time_point)
ds2.data["y"].append(data + 300)
# update live stream with new data
ds1._dirty = True
cursession().store_objects(ds1)
ds2._dirty = True
cursession().store_objects(ds2)

