question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Commuter does not render plots backed by javascript (such as bokeh plots)

See original GitHub issue

hello all, i am using commuter to serve some jupyter notebooks from s3. it works great (if one builds from source anyway).

the problem i am having is some of my notebooks have interactive plots generated by bokeh that include javascript. in a normal html-ified-notebook these plots only display properly (in all their javascripty glory) after running jupyter trust mynotebook.ipynb.

i am wondering how i can effect that for commuter? basically, i think i need to tell commuter i trust these notebooks and that all the JS should be loaded. any advice to resolve this appreciated!! thanks all 😄

Addendum: this ticket (https://github.com/bokeh/bokeh/issues/8392) details my interactions with the bokeh team, in which they clued me in to jupyter trust which allows JS dynamic plots to render in notebooks that were run by nteract/papermill but are not displayed by nteract/commuter.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
mstewart141commented, Nov 11, 2019

hi, the bokeh ticket is all the info i have really, sorry!

0reactions
tanguycdlscommented, Nov 11, 2019

No problem @mstewart141 I will try again the tricks in the ticket ! Thanks a lot for the prompt answer !

Read more comments on GitHub >

github_iconTop Results From Across the Web

Plots Not Rendering on Private Network - Bokeh Discourse
I created a website that uses two bokeh plots (one map and one stacked bar plot) with the intention of deploying on a...
Read more >
Adding Interactions - Bokeh documentation
It's often useful to link plots to add connected interactivity between plots. This section shows an easy way to do it using the...
Read more >
Why my bokeh plots doesn't work on github? - Stack Overflow
I edit the file in my ipython notebook locally and I can see the plot working. When I push them on github and...
Read more >
Hello, Bokeh.js! / Bryan Gin-ge Chen - Observable
Bar charts (doesn't display); "Minimal complete example" (added data points are not drawn). A further note: the Bokeh charts seem to be re-rendered...
Read more >
Python Bokeh tutorial - Interactive Data Visualization with Bokeh
Bokeh renders its plots using HTML and JavaScript that uses modern ... interface to the data scientists who do not want to be...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found