-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update the Binder env and example notebook (#20)
- Loading branch information
Showing
7 changed files
with
56 additions
and
1,841 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"@jupyterlab/docmanager-extension:plugin": { | ||
"defaultViewers": { | ||
"markdown": "Jupytext Notebook", | ||
"myst": "Jupytext Notebook", | ||
"r-markdown": "Jupytext Notebook", | ||
"quarto": "Jupytext Notebook", | ||
"julia": "Jupytext Notebook", | ||
"python": "Jupytext Notebook", | ||
"r": "Jupytext Notebook" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,15 @@ | ||
#!/bin/bash | ||
set -ex | ||
# Stop everything if one command fails | ||
set -e | ||
|
||
# Trust our notebooks | ||
jupyter trust examples/*.ipynb | ||
# Install from source | ||
pip install . | ||
|
||
# TOC extension | ||
jupyter contrib nbextension install --user | ||
jupyter nbextension enable toc2/main | ||
# Open text notebooks with the Notebook editor | ||
mkdir -p ${HOME}/.jupyter/labconfig | ||
cp binder/labconfig/* ${HOME}/.jupyter/labconfig | ||
|
||
# Install a kernel called world_bank_data | ||
python -m ipykernel install --name world_bank_data --user | ||
|
||
# Use that kernel for the README and the example notebooks | ||
jupytext README.md examples/* --set-kernel world_bank_data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
world_bank_data | ||
plotly>=3.8 | ||
itables | ||
plotly | ||
jupytext | ||
jupyter_contrib_nbextensions | ||
jupyterlab_execute_time | ||
jupyter-resource-usage |
1,792 changes: 0 additions & 1,792 deletions
1,792
examples/A sunburst plot of the world population.ipynb
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters