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

Removed meta information from cells + deleted all empty cells. #320

Merged
merged 1 commit into from
Oct 27, 2021

Conversation

kolibril13
Copy link
Contributor

@kolibril13 kolibril13 commented Oct 27, 2021

As the diff in Jupyter notebooks look a bit ugly (see #319),
I run the comment nbstripout Python/*.ipynb --strip-empty-cells to keep the metadata from the notebooks as clean as possible. With this, the diff in a pull request will look less cluttered when opening the notebooks on different devices.
Most of all, it changed the "collapsed" parameter, which defines if the cell output is collapsed or not. For code, this parameter is not needed, as all cells are not yet executed. And for Markdown, I don't know what it does, but it had no effect on the look of my local notebook. https://nbformat.readthedocs.io/en/latest/format_description.html#code-cells

@zivy
Copy link
Member

zivy commented Oct 27, 2021

Looks good, merging.

@zivy zivy merged commit 442d1b3 into InsightSoftwareConsortium:master Oct 27, 2021
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