Skip to content

Commit 3906937

Browse files
authored
Update README.md
1 parent bf1796b commit 3906937

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ await sandbox.notebook.execCell("!pip install matplotlib")
5353
const result = await sandbox.notebook.execCell(code)
5454

5555
// this contains the image data, you can e.g. save it to file or send to frontend
56-
result.display_data[0]["image/png"]
56+
result.data[0].png
5757

5858
await sandbox.close()
5959
```

0 commit comments

Comments
 (0)