Reputation: 13
I've only encountered this in VSCode: why
I want to see only one, last output of the cell.
There are no such problem if cell contains print(): with print
Version: 1.84.2 (system setup)
Commit: 1a5daa3a0231a0fbba4f14db7ec463cf99d7768e
Date: 2023-11-09T10:51:52.184Z
Electron: 25.9.2
ElectronBuildId: 24603566
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: 11.4.183.29-electron.0
OS: Windows_NT x64 10.0.22631
Jupyter v2023.10.1100000000
Python v2023.21.13341009
Upvotes: 1
Views: 730
Reputation: 404
In the "change presentation to" option choose VS Code builtin notebook output renderer(vscode.builtin-notebook-renderer). You may be facing the issue because the Jupyter extension version is marking it to something else.
Happy coding!!
Upvotes: 1
Reputation: 9727
Updates extension to the latest version or use a pre-release version.
In addition, this may be related to your operation method. You can use the following method to clear the output in the output panel.
Upvotes: -1