Bokeh server notebook integration for Kaggle

Hi,

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?

BR,
Maria

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.

Thanks,

Bryan

···

On May 7, 2018, at 12:46, Maria Knorps <[email protected]> wrote:

Hi,

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?

BR,
Maria

--
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/e0310a40-cbab-4d42-9fe6-fca23e9e7acf%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.

Thank you,

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.

Thanks,

Bryan

On May 7, 2018, at 12:46, Maria Knorps [email protected] wrote:

Hi,

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?

BR,

Maria


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 [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/e0310a40-cbab-4d42-9fe6-fca23e9e7acf%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.