You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately, GitHub's notebook rendering can often run into following errors -
"Unable to render code block"
"Sorry, this is too big to display"
"Unable to render rich display"
"The notebook took too long to render"
"Sorry, something went wrong. Reload?"
etc.
Solutions
1. NBviewer
If your notebooks are in a public GitHub repository, you can use NBviewer to render the notebooks. Simply copy-paste the GitHub URL & NBviewer will render it for you. NBviewer will render standalone notebook files but won't render rich diffs.
2. ReviewNB
ReviewNB is a GitHub approved marketplace app that enables code reviews on Jupyter Notebooks. It works on public & private GitHub repositories. It renders rich notebook diffs for GitHub PRs & lets you review / comment on the rich diff. It's a paid SaaS app but free for open source & academic use.
3. nbdime
If you simply want to see rich notebook diffs locally, then nbdime library can generate local diffs for you. It's good for looking at diffs at development time (prior to commit-ing your notebooks) but not good for reviewing pull request diffs as you can't comment / review the PR.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Last year GitHub launched rich diffs for Jupyter Notebooks
Unfortunately, GitHub's notebook rendering can often run into following errors -
Solutions
1. NBviewer
If your notebooks are in a public GitHub repository, you can use NBviewer to render the notebooks. Simply copy-paste the GitHub URL & NBviewer will render it for you. NBviewer will render standalone notebook files but won't render rich diffs.
2. ReviewNB
ReviewNB is a GitHub approved marketplace app that enables code reviews on Jupyter Notebooks. It works on public & private GitHub repositories. It renders rich notebook diffs for GitHub PRs & lets you review / comment on the rich diff. It's a paid SaaS app but free for open source & academic use.
3. nbdime
If you simply want to see rich notebook diffs locally, then nbdime library can generate local diffs for you. It's good for looking at diffs at development time (prior to commit-ing your notebooks) but not good for reviewing pull request diffs as you can't comment / review the PR.
Beta Was this translation helpful? Give feedback.
All reactions