diff --git a/README.md b/README.md index b979e95..3b25ef9 100644 --- a/README.md +++ b/README.md @@ -124,7 +124,7 @@ await sandbox.notebook.execCell("!pip install matplotlib") const result = await sandbox.notebook.execCell(code) // this contains the image data, you can e.g. save it to file or send to frontend -result.display_data[0]["image/png"] +result.data[0]["image/png"] await sandbox.close() ```