BokehJS: </>xr = new Bokeh.Range1d({ start: 0, end: 10});</> + Bounds

How to set up bounds in JS

var xr = new Bokeh.Range1d({ start: 0, end: 10})

how to add bounds?
similar to python :

x_range=Range1d(0, 10, bounds=(0, 10), min_interval=(5))

const plot = Bokeh.Plotting.figure({
             plot_height : 500,
             plot_width : 500,
              x_range : xr})


Hi @pydspro please edit your post to use code formatting so that the code is intelligible (either with the </> icon on the editing toolbar, or triple backtick ``` fences around the code blocks)

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.