I'm afraid I don't know anything at all about how Kaggle's infrastructure works. Bokeh apps require the ability to open a web socket connection. It's possible their network setup currently blocks web socket connections, or at least ones not in some sort of whitelist. I'd suggest raising this question with Kaggle support directly. It's possible they would need to make changes on their end for Bokeh apps to function. We'd be happy to help assist them, but only they will know what to do and be able to do it.
I want to create an interactive plot in a Kaggle (https://www.kaggle.com) kernel. This nice example works in the Jupyter notebook on my local machine:
notebook_embed
but run as a Kaggle kernel the plot is not displayed: https://www.kaggle.com/mknorps/bokeh-server-notebook-integration-test:
bokeh-server-notebook-integration-test
How can I display interactive plots with callbacks in Kaggle kernels?
I posted the problem on Kaggle forum and I hope they will fix it soon. BTW, thank you for a great course on DataCamp!
BR,
Maria
W dniu sobota, 12 maja 2018 17:05:13 UTC+2 użytkownik Bryan Van de ven napisał:
···
Hi,
I’m afraid I don’t know anything at all about how Kaggle’s infrastructure works. Bokeh apps require the ability to open a web socket connection. It’s possible their network setup currently blocks web socket connections, or at least ones not in some sort of whitelist. I’d suggest raising this question with Kaggle support directly. It’s possible they would need to make changes on their end for Bokeh apps to function. We’d be happy to help assist them, but only they will know what to do and be able to do it.