# RangeToolLink with native Bokeh

**URL:** <https://discourse.holoviz.org/t/rangetoollink-with-native-bokeh/4822>\
**Category:** HoloViews\
**Created:** [January 12, 2023, 7:44pm UTC](https://discourse.holoviz.org/t/rangetoollink-with-native-bokeh/4822 "2023-01-12T19:44:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![maxxor](https://discourse.holoviz.org/user_avatar/discourse.holoviz.org/maxxor/32/3251_2.png) [@maxxor](https://discourse.holoviz.org/u/maxxor)\
**Post date:** [January 12, 2023, 7:44pm UTC](https://discourse.holoviz.org/t/rangetoollink-with-native-bokeh/4822/1 "2023-01-12T19:44:33Z")

</div>

I am trying to link two plots together with a native bokeh setup. However the RangeToolLink doesn’t seem to do anything. What am I missing?

```auto
import pandas as pd
import numpy as np
import holoviews as hv
from bokeh.layouts import row, column
from bokeh.plotting import curdoc, figure
from bokeh.layouts import layout
from holoviews import opts
from holoviews.plotting.links import RangeToolLink

hv.extension('bokeh')
renderer = hv.renderer('bokeh').instance(mode='server')

doc = curdoc()

x = np.linspace(1, 1000, 10000)
y1 = np.sin(x / 10)
y2 = np.sin(x / 10) + 1

df = pd.DataFrame({"x": x, "y1": y1, "y2": y2})

c1 = hv.Curve(df, "x", "y1")
c2 = hv.Curve(df, "x", "y2")

RangeToolLink(c1, c2)

layout = layout(column(renderer.get_plot(c1).state, renderer.get_plot(c2).state))
doc.add_root(layout)

```
