We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1cb291e commit 2332cbdCopy full SHA for 2332cbd
render.py
@@ -67,7 +67,7 @@ def image_from_cell(cell):
67
def source_from_cell(cell):
68
source = "".join(cell['source']).strip()
69
source = source.replace(";", "")
70
- source = re.sub(r"^Image\(.*\)", "", source) # remove bokeh render
+ source = re.sub(r"\bImage\(.*\)", "", source) # remove bokeh render
71
if "%%R" in source:
72
source = '\n'.join(source.split('\n')[1:])
73
else:
0 commit comments