Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jupyter Notebook cell execution_count not cleared when clearing output of cells #237299

Closed
DonJayamanne opened this issue Jan 5, 2025 · 0 comments · Fixed by #237301
Closed
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug insiders-released Patch has been released in VS Code Insiders notebook-serialization
Milestone

Comments

@DonJayamanne
Copy link
Contributor

  • Create a jupyter notebook
  • Add a cell import os
  • Add another cell print(1234)
  • Run the notebook against a Python kernel
  • Open notebook on the side with text editor
  • Note the execution_count 1 and 2 displayed for the first and second cells respectively (in JSON)
  • Clear all cell outputs
  • The execution_count should now be null for both cells
@DonJayamanne DonJayamanne self-assigned this Jan 5, 2025
@DonJayamanne DonJayamanne added bug Issue identified by VS Code Team member as probable bug notebook-serialization labels Jan 6, 2025
@DonJayamanne DonJayamanne added this to the January 2025 milestone Jan 6, 2025
@vs-code-engineering vs-code-engineering bot added unreleased Patch has not yet been released in VS Code Insiders insiders-released Patch has been released in VS Code Insiders and removed unreleased Patch has not yet been released in VS Code Insiders labels Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug insiders-released Patch has been released in VS Code Insiders notebook-serialization
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant