☰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

Bokeh in blogs

Community Support
Ben_Cipollini
Ben_Cipollini

Hi all,

I’m trying to use interactive viz via bokeh in my scientific blogposts, but am running into issues: some blog frameworks don’t allow IFRAME nor SCRIPT elements.

I’m wondering if people in this community have recommendations on how to handle this. For example, hosted Wordpress doesn’t allow this (have to upgrade to self-hosted, I believe).

Those who blog with bokeh visualizations, how do you manage this? What frameworks do you use? Any recommendations on how to approach?

I know there are solutions (publish on my own website, host using flask/heroku, etc), but I’m looking for a variety of options and preferably ones that work for as many content publishers as possible. I.e. I’m trying to understand what I can recommend to my colleagues, not just do myself.

Thanks in advance!
Ben Cipollini

http://cseweb.ucsd.edu/~bcipolli/

⌁   Link to post
Bryan
Bryan

Hi Ben,

Most of the actual work to render plots is done by the BokehJS library. So I would say support for at least one of <script> or <iframe> is required to embed a real Bokeh plot. At the moment you can use the "save" tool to save a static PNG in case that is useful. And in the future there will be the ability to create static images programmatically (it's unfortunately a very thorny problem for us, but we do intend to find some path).

Others may have suggestions for other tools, frameworks, etc.

Bryan

···

On Oct 24, 2015, at 6:03 PM, Ben Cipollini <bcipolli@ucsd.edu> wrote:

Hi all,

I'm trying to use interactive viz via bokeh in my scientific blogposts, but am running into issues: some blog frameworks don't allow IFRAME nor SCRIPT elements.

I'm wondering if people in this community have recommendations on how to handle this. For example, hosted Wordpress doesn't allow this (have to upgrade to self-hosted, I believe).

Those who blog with bokeh visualizations, how do you manage this? What frameworks do you use? Any recommendations on how to approach?

I know there are solutions (publish on my own website, host using flask/heroku, etc), but I'm looking for a variety of options and preferably ones that work for as many content publishers as possible. I.e. I'm trying to understand what I can recommend to my colleagues, not just do myself.

Thanks in advance!
Ben Cipollini
Ben Cipollini @ UCSD.edu

--
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/CANgTvZgXd1zhUTGRaP7GH75nkFat15mS1f617%2BRBwuUMKaDH%3DQ%40mail.gmail.com\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

⌁   Link to post
Ben_Cipollini1
Ben_Cipollini1

Thanks Bryan!

Yes, I’m looking for tools and frameworks that allow SCRIPT/IFRAME. Looks like Blogger and Tumblr do, but Wordpress and Storify do not. Not sure if there are workarounds for either site (besides hosting your own Wordpress install); unfortunately the blogs I currently post to (PLOS Neuro and NeuWriteSD) are both using hosted Wordpress.

Any “best practices” or workarounds y’all have come across in doing this would be appreciated. I think interactive viz is crucial to scientific communication, but looks like it’s not gonna be as easy to share them as I’d hoped.

Thanks!

···

On Sat, Oct 24, 2015 at 4:35 PM, Bryan Van de Ven bryan@bokeh.org wrote:

Hi Ben,

Most of the actual work to render plots is done by the BokehJS library. So I would say support for at least one of or

⌁   Link to post
Andrea_Ciufo
Andrea_Ciufo

Hi all,
I have no web development background, I am a Data Analyst and I really love the library.

**Nowadays it is possible to publish an interactive plot on a blog in Wordpress? **

I am thinking to do something I saw done with Tableau, that I don’t use but often I see in post blog.

Something like a imgur for pics or pastebin for code.

Thank you!

Andrea

···

On Sunday, 25 October 2015 01:41:07 UTC+2, Ben Cipollini wrote:

Thanks Bryan!

Yes, I’m looking for tools and frameworks that allow SCRIPT/IFRAME. Looks like Blogger and Tumblr do, but Wordpress and Storify do not. Not sure if there are workarounds for either site (besides hosting your own Wordpress install); unfortunately the blogs I currently post to (PLOS Neuro and NeuWriteSD) are both using hosted Wordpress.

Any “best practices” or workarounds y’all have come across in doing this would be appreciated. I think interactive viz is crucial to scientific communication, but looks like it’s not gonna be as easy to share them as I’d hoped.

Thanks!

On Sat, Oct 24, 2015 at 4:35 PM, Bryan Van de Ven bry...@continuum.io wrote:

Hi Ben,

Most of the actual work to render plots is done by the BokehJS library. So I would say support for at least one of or

⌁   Link to post
Kyle_O_Shea
Kyle_O_Shea

Yes, you can, for example, generate your interactive plots inline in a jupyter notebook & then embed the notebook in your blog. There are other ways too: http://blancosilva.github.io/post/2016/08/24/bokeh.html Another option is to use https://kyso.io (I’m involved in this project) - we render the jupyter notebooks as blog posts themselves so your interactive bokeh plots will be rendered. Some examples: https://kyso.io/KyleOS/pikkety-intro , https://kyso.io/KyleOS/bokeh-intro

···

On Wednesday, February 20, 2019 at 10:18:09 AM UTC+1, Andrea Ciufo wrote:

Hi all,
I have no web development background, I am a Data Analyst and I really love the library.

**Nowadays it is possible to publish an interactive plot on a blog in Wordpress? **

I am thinking to do something I saw done with Tableau, that I don’t use but often I see in post blog.

Something like a imgur for pics or pastebin for code.

Thank you!

Andrea

On Sunday, 25 October 2015 01:41:07 UTC+2, Ben Cipollini wrote:

Thanks Bryan!

Yes, I’m looking for tools and frameworks that allow SCRIPT/IFRAME. Looks like Blogger and Tumblr do, but Wordpress and Storify do not. Not sure if there are workarounds for either site (besides hosting your own Wordpress install); unfortunately the blogs I currently post to (PLOS Neuro and NeuWriteSD) are both using hosted Wordpress.

Any “best practices” or workarounds y’all have come across in doing this would be appreciated. I think interactive viz is crucial to scientific communication, but looks like it’s not gonna be as easy to share them as I’d hoped.

Thanks!

On Sat, Oct 24, 2015 at 4:35 PM, Bryan Van de Ven bry...@continuum.io wrote:

Hi Ben,

Most of the actual work to render plots is done by the BokehJS library. So I would say support for at least one of or

⌁   Link to post
Andrea_Ciufo
Andrea_Ciufo

Thanks Kyle :smiley: , I will try your solutions and keep you updated!

···

On Wednesday, 20 February 2019 10:43:19 UTC+1, Kyle O Shea wrote:

Yes, you can, for example, generate your interactive plots inline in a jupyter notebook & then embed the notebook in your blog. There are other ways too: http://blancosilva.github.io/post/2016/08/24/bokeh.html Another option is to use https://kyso.io (I’m involved in this project) - we render the jupyter notebooks as blog posts themselves so your interactive bokeh plots will be rendered. Some examples: https://kyso.io/KyleOS/pikkety-intro , https://kyso.io/KyleOS/bokeh-intro

On Wednesday, February 20, 2019 at 10:18:09 AM UTC+1, Andrea Ciufo wrote:

Hi all,
I have no web development background, I am a Data Analyst and I really love the library.

**Nowadays it is possible to publish an interactive plot on a blog in Wordpress? **

I am thinking to do something I saw done with Tableau, that I don’t use but often I see in post blog.

Something like a imgur for pics or pastebin for code.

Thank you!

Andrea

On Sunday, 25 October 2015 01:41:07 UTC+2, Ben Cipollini wrote:

Thanks Bryan!

Yes, I’m looking for tools and frameworks that allow SCRIPT/IFRAME. Looks like Blogger and Tumblr do, but Wordpress and Storify do not. Not sure if there are workarounds for either site (besides hosting your own Wordpress install); unfortunately the blogs I currently post to (PLOS Neuro and NeuWriteSD) are both using hosted Wordpress.

Any “best practices” or workarounds y’all have come across in doing this would be appreciated. I think interactive viz is crucial to scientific communication, but looks like it’s not gonna be as easy to share them as I’d hoped.

Thanks!

On Sat, Oct 24, 2015 at 4:35 PM, Bryan Van de Ven bry...@continuum.io wrote:

Hi Ben,

Most of the actual work to render plots is done by the BokehJS library. So I would say support for at least one of or

⌁   Link to post
Andrea_Ciufo
Andrea_Ciufo

I saw and tried the solutions.

They works fine, but seems that you can’t use a
Callback function.

``

**But is possible to embed Bokeh Plots with callback functions in a Wordpress post? **

I looked also some posts on https://kyso.io/ they are all without a callback function.

Just this one https://kyso.io/answerquest/podp-sanitation but is not properly based on a **callback function. **

···

On Wednesday, 20 February 2019 12:46:34 UTC+1, Andrea Ciufo wrote:

Thanks Kyle :smiley: , I will try your solutions and keep you updated!

On Wednesday, 20 February 2019 10:43:19 UTC+1, Kyle O Shea wrote:

Yes, you can, for example, generate your interactive plots inline in a jupyter notebook & then embed the notebook in your blog. There are other ways too: http://blancosilva.github.io/post/2016/08/24/bokeh.html Another option is to use https://kyso.io (I’m involved in this project) - we render the jupyter notebooks as blog posts themselves so your interactive bokeh plots will be rendered. Some examples: https://kyso.io/KyleOS/pikkety-intro , https://kyso.io/KyleOS/bokeh-intro

On Wednesday, February 20, 2019 at 10:18:09 AM UTC+1, Andrea Ciufo wrote:

Hi all,
I have no web development background, I am a Data Analyst and I really love the library.

**Nowadays it is possible to publish an interactive plot on a blog in Wordpress? **

I am thinking to do something I saw done with Tableau, that I don’t use but often I see in post blog.

Something like a imgur for pics or pastebin for code.

Thank you!

Andrea

On Sunday, 25 October 2015 01:41:07 UTC+2, Ben Cipollini wrote:

Thanks Bryan!

Yes, I’m looking for tools and frameworks that allow SCRIPT/IFRAME. Looks like Blogger and Tumblr do, but Wordpress and Storify do not. Not sure if there are workarounds for either site (besides hosting your own Wordpress install); unfortunately the blogs I currently post to (PLOS Neuro and NeuWriteSD) are both using hosted Wordpress.

Any “best practices” or workarounds y’all have come across in doing this would be appreciated. I think interactive viz is crucial to scientific communication, but looks like it’s not gonna be as easy to share them as I’d hoped.

Thanks!

On Sat, Oct 24, 2015 at 4:35 PM, Bryan Van de Ven bry...@continuum.io wrote:

Hi Ben,

Most of the actual work to render plots is done by the BokehJS library. So I would say support for at least one of or

⌁   Link to post

End of archived discussion · Replies are disabled