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

Optional notebook output with interleaved runtime and screenshots #1

Merged
merged 4 commits into from
Nov 13, 2024

Conversation

bmorris3
Copy link
Contributor

@bmorris3 bmorris3 commented Nov 8, 2024

Description

This is a rough PR with an additional option to output a copy of the source notebook with new markdown cells injected after each executed code cell. The new markdown cells show the last screenshot captured from the preceding code cell, the elapsed time between executing the code cell and the final update to the output, and the number of output updates captured before the cell was considered complete.

I spent some time investigating if it's possible to get the notebook file path via playwright, rather than asking for it as a command-line argument, but I haven't found a way yet. Any tips?

There's one small commit that changes the output path format a bit from proper ISO, since OS X doesn't like colons in file paths.

This was put together pretty quickly, so feel free to add comments or commits.

@astrofrog astrofrog merged commit 7d4b985 into glue-viz:main Nov 13, 2024
11 checks passed
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.

2 participants