☰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

Can I pass arguments to the callback with add_next_tick_callback?

Community Support
EddyG
EddyG

Hi,

looking for a way to pass (named) arguments to the add_next_tick_callback function.

def work(a,b=5):
    C = a+b

doc.add_next_tick_callback(work, ???)

Keep getting errors like add_next_tick_callback() takes 2 positional arguments but 3 were given and found noting in docs.

Thanks

⌁   Link to post

End of archived discussion · Replies are disabled