Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

Commit

Permalink
continuing fixing issue for bokeh in a notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
sdpython committed Oct 21, 2017
1 parent cd28c7c commit e8cbe44
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pyquickhelper/ipythonhelper/notebook_runner.py
Expand Up @@ -805,7 +805,8 @@ def cell_image(self, cell, image_from_text=False):
"This should be bytes not '{0}' (=IMG:{1}).".format(type(v), k))
results.append((v, k.split("/")[-1]))
elif k in ("text/vnd.plotly.v1+html", "application/vnd.plotly.v1+json",
"application/vnd.bokehjs_exec.v0+json"):
"application/vnd.bokehjs_exec.v0+json",
"application/vnd.bokehjs_load.v0+json"):
results.append((v, k.split("/")[-1]))
else:
raise NotImplementedError("cell type: {0}\nk={1}\nv={2}\nCELL:\n{3}".format(kind,
Expand Down

0 comments on commit e8cbe44

Please sign in to comment.