opened 12:04AM - 24 Oct 19 UTC
closed 12:56AM - 24 Oct 19 UTC
type: discussion
reso: referred
Tested with last 1.3.4 release.
In pyhton
```
xdr = DataRange1d(bounds=None…)
p1 = figure(
plot_width = 400,
plot_height = 400,
tools = "pan,wheel_zoom,box_zoom,reset,save",
toolbar_location = "above",
active_scroll = "wheel_zoom",
x_range = xdr
)
```
I try to minic the previous part of python code to BokehJS, but I get the error:
```Uncaught Error: models must be owned by only a single document```
In JS
```
var xdr = new Bokeh.DataRange1d({bounds: "none"});
plot = new Bokeh.Plotting.figure({
plot_width: 400,
plot_height: 400,
tools: "pan,wheel_zoom,box_zoom,reset,save",
//active_scroll: "wheel_zoom", // not available as well
x_range: xdr
});
```
More generally, I would like to produce linked plot from BokehJS.
Any working example ?