☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

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

Community Supportbokehjs
pydspro
pydspro

Hi
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})

thanks

⌁   Link to post

End of archived discussion · Replies are disabled