Skip to content

Store display outputs in history for %notebook magic - #1435

Merged
ianthomas23 merged 15 commits into
ipython:mainfrom
Darshan808:fix-display-history
Oct 15, 2025
Merged

ianthomas23 merged 15 commits into
ipython:mainfrom
Darshan808:fix-display-history

Conversation

@Darshan808

Copy link
Copy Markdown
Contributor

Fixes #1433

Summary

Fixes issue where display outputs (plots) were not included when using %notebook magic to save session as .ipynb file.

Changes

  • Modified ZMQDisplayPublisher.publish() to store display data in history_manager.outputs
  • Added test to verify display outputs are stored in history

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Published display outputs are not included in %notebook magic

3 participants