Skip to content

Commit 2332cbd

Browse files
committed
try to remove render again
1 parent 1cb291e commit 2332cbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

render.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def image_from_cell(cell):
6767
def source_from_cell(cell):
6868
source = "".join(cell['source']).strip()
6969
source = source.replace(";", "")
70-
source = re.sub(r"^Image\(.*\)", "", source) # remove bokeh render
70+
source = re.sub(r"\bImage\(.*\)", "", source) # remove bokeh render
7171
if "%%R" in source:
7272
source = '\n'.join(source.split('\n')[1:])
7373
else:

0 commit comments

Comments
 (0)