jupyter icon indicating copy to clipboard operation
jupyter copied to clipboard

Support plotting with Bokeh / Plot.ly

Open 0liu opened this issue 4 years ago • 2 comments

When plotting with Bokeh or Plot.ly a warning issued:

Warning (jupyter): :display-data did not return requested mimetype(s): (:text/org :image/svg+xml :image/jpeg :image/png :text/markdown :text/latex :text/plain)

I guess ob-jupyter does not support javascript return as in #53 ? Is it possible to make it happen? Interactive plotting would be super useful.

0liu avatar Jan 30 '21 21:01 0liu

If you are happy to render plotly in the browser, you can set:

import plotly.io as pio
pio.renderers.default = "browser"

lccambiaghi avatar Mar 02 '21 13:03 lccambiaghi

If you are happy to render plotly in the browser, you can set:

import plotly.io as pio
pio.renderers.default = "browser"

Thank you! This works, while the output and code are separate and not bound together as in notebook. It's more like using ipython directly.

0liu avatar Mar 10 '21 08:03 0liu