Hi all,

I am having an issue to make pan and zooming actions work across two plots with large data set, here is a code example

## ···

#********************************************************

from bokeh.plotting import figure, curdoc

from bokeh.layouts import column

from datetime import timedelta, datetime

start_date = “2017-01-01”

start = datetime.strptime(start_date, “%Y-%m-%d”)

x1=

x2=

y1=

y2=

nextpoint = start

for i in range(1,300000):

nextpoint=nextpoint + timedelta(seconds=60)

x1.append(nextpoint)

y1.append(0.5*i)

nextpoint = start

for i in range(0,600000):

nextpoint=nextpoint + timedelta(seconds=30)

x2.append(nextpoint)

y2.append(-0.1*i)

p1 = figure(plot_width=400, plot_height=400, x_axis_type=“datetime”, output_backend=“webgl”)

p1.circle(x1, y1, legend=“y1”, fill_color=“green”, line_alpha = 0, size=5)

p2 = figure(plot_width=400, plot_height=400, x_range=p1.x_range, x_axis_type=“datetime”, output_backend=“webgl”)

p2.circle(x2, y2,legend=“y2”, fill_color=“red”, line_alpha = 0, size=5)

curdoc().add_root(column(p1, p2))

# ***************************************************************************************

Can you please let me know what I am doing wrong here?

Thanks,

Alex.