☰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

Prevent datarange1d update on columndatasource changes

Community Supportbokehjs
chupach1
chupach1

I try to prevent datarange1d update on columndatasource changes.
This is the case for instance with pan tool.
So is there a way in customjs function to emit the change without range update ?
At the moment i use a setTimeout to restore the range but that is very inelegant.

I don’t want to use Range1d because most of the time bokeh mechanics is doing the good job
thanks !

⌁   Link to post
Bryan
Bryan

The express purpose of DataRange1d is to automatically update the range extents to match the current data. If that’s not what you want, then you don’t want to use DataRange1d. I don’t understand what the comment about pan tools or is referring to. A video screen grab or screen shots might help clarify things. Of course, as always a complete Minimal Reproducible Example would be the very best thing to focus the discussion and prevent ambiguity.

⌁   Link to post

End of archived discussion · Replies are disabled