Skip to content

Commit 2f6e52b

Browse files
committed
Update notebook
1 parent f7b0032 commit 2f6e52b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/notebook.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ export class RNotebookProvider implements vscode.NotebookContentProvider, vscode
316316
cell.outputs = [{
317317
outputKind: vscode.CellOutputKind.Rich,
318318
data: {
319-
'image/png': fs.readFileSync(output.result).toString('base64'),
319+
'image/png': fs.readFileSync(output.result, 'base64'),
320320
}
321321
}];
322322
break;

0 commit comments

Comments
 (0)