Skip to content

Refactor how snapshot works#152

Merged
almarklein merged 3 commits into
mainfrom
snapshot
Apr 7, 2026
Merged

Refactor how snapshot works#152
almarklein merged 3 commits into
mainfrom
snapshot

Conversation

@almarklein
Copy link
Copy Markdown
Member

@almarklein almarklein commented Apr 7, 2026

Closes #146

This simplifies the code quite a bit. But also the working:

  • output of cell is widget: you get the interactive widget, but this does not work in static view.
  • use w.snapshot(): you get a snapshot.

The main extra compared to main is that snapshots can be used even when the acyual widget is never actually visible.

@almarklein almarklein marked this pull request as draft April 7, 2026 09:49
@almarklein almarklein marked this pull request as ready for review April 7, 2026 10:55
@almarklein almarklein merged commit eed9acf into main Apr 7, 2026
15 checks passed
@almarklein almarklein deleted the snapshot branch April 7, 2026 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Changing the snapshot behaviour

1 participant