Registering my snippet with document.onload makes it run way before the bokeh ui elements appear… so quickly that my animation doesn’t even show up.
onload = ... line into the script returned by
autoload_server() unfortunately has a similar effect – it runs when the script is loaded, not when it is finished running.
I’m not familiar with the internals of Bokeh’s rendering process, but it seems like the solution to my problem is to hook into that somehow. Forgive my ignorance, but it seems like there could be something like:
I realize I’m being a little loose with my terms – I’m not too picky if I can run my code after, during, or just before elements appear on the page. I’m also not much of a front-end programmer, so apologies for any incorrect terminology.
Thank you! Bokeh is a wonderful tool and I am grateful for the hard work contributors have put in, and for the excellent community support.