A Jupyter notebook that creates a dashboard for viewing LizardByte repository data.
-
Notebooks should be committed with the output cleared.
find . -name '*.ipynb' -exec nb-clean clean {} \;
Or for a single notebook:
nb-clean clean ./notebook/dashboard.ipynb
-
You can create a preview of the notebook in html by running the following commands:
npm install cp -f ./node_modules/ploty.js/dist/plotly.min.js ./gh-pages/plotly.js jupyter nbconvert --debug --config=./jupyter_nbconvert_config.py --execute --no-input --to=html --output-dir=./gh-pages --output=index ./notebook/dashboard.ipynb
Notebook diffs are difficult to read. To make reviewing easier, you can enable the Rich Jupyter Notebook Diff feature in your GitHub account settings.
Local options are also available. See this for more information.