☰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

Preventing Multiple Plot Refresh

Community Support
japyck
japyck

Hello,

I am new to this group and to Bokeh,

I am trying to interactively resize 50.000+ data points on a
map in a client-server setting. My first observation is that resizing this
number of points is close to real-time on my laptop, this is great. One of the
issue that limits interactivity in my case, is that changing the size of the dots using a slider triggers as many
plot refresh than steps between the start and final size setting. Is there a
way to prevent these intermediary refreshes .i.e. can Bokeh be set to refresh
only once when to mouse is
released from the slider?

Thanks

J-P

⌁   Link to post
Bryan
Bryan

Please note that property only currently applies to CustomJS callbacks, not to python callbacks in Bokeh server apps. There is nothing (yet) built in to throttle python callbacks, but there is a serviceable workaround give in this SO answer:

  python - Throttling in Bokeh application - Stack Overflow

Thanks,

Bryan

···

On Apr 25, 2017, at 14:30, sebastienroche11@gmail.com wrote:

Yes, in the slider arguments just use " callback_policy='mouseup' "

--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+unsubscribe@continuum.io.
To post to this group, send email to bokeh@continuum.io.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/b7822a20-6f86-4997-aa55-471b04a14aa7%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

⌁   Link to post

End of archived discussion · Replies are disabled