Remove the instuctor's presentation mode
Reason: RISE only works in the older Jupyter Notebook app and not in the more commonly used JupyterLab app
This commit is contained in:
parent
da43bc3d97
commit
110bb3b38e
2 changed files with 1 additions and 31 deletions
27
README.md
27
README.md
|
@ -139,7 +139,7 @@ Then, unpack the ZIP file into a folder of your choice,
|
||||||
<img src="static/repo_download.png" width="50%">
|
<img src="static/repo_download.png" width="50%">
|
||||||
|
|
||||||
|
|
||||||
### Alternative Installation (for Instructors)
|
### Alternative Installation (for Instructors using Linux)
|
||||||
|
|
||||||
Python can also be installed in a "pure" way
|
Python can also be installed in a "pure" way
|
||||||
obtained directly from its core development team [here](https://www.python.org/downloads/).
|
obtained directly from its core development team [here](https://www.python.org/downloads/).
|
||||||
|
@ -232,31 +232,6 @@ The command-line interface stays open in the background,
|
||||||
<img src="static/cli_jupyter_lab.png" width="50%" align="center">
|
<img src="static/cli_jupyter_lab.png" width="50%" align="center">
|
||||||
|
|
||||||
|
|
||||||
#### Interactive Presentation Mode & Live Coding
|
|
||||||
|
|
||||||
`poetry install` also installs the
|
|
||||||
[RISE <img height="12" style="display: inline-block" src="static/link/to_gh.png">](https://github.com/damianavila/RISE)
|
|
||||||
extension for Jupyter.
|
|
||||||
With that, the instructor can execute code in *presentation* mode during a class session.
|
|
||||||
However, the RISE extension does *not* work in the more recent
|
|
||||||
[JupyterLab](https://jupyterlab.readthedocs.io/en/stable/) app
|
|
||||||
but only in the older [Jupyter Notebook](https://jupyter-notebook.readthedocs.io/en/stable/) app,
|
|
||||||
which comes with less features
|
|
||||||
and a simpler [GUI <img height="12" style="display: inline-block" src="static/link/to_gh.png">](https://en.wikipedia.org/wiki/Graphical_user_interface).
|
|
||||||
The instructor can start the latter with:
|
|
||||||
|
|
||||||
- `poetry run jupyter notebook`
|
|
||||||
|
|
||||||
This also opens a new tab in the web browser.
|
|
||||||
After opening a notebook,
|
|
||||||
clicking on the button highlighted below
|
|
||||||
starts the presentation mode.
|
|
||||||
|
|
||||||
<img src="static/presentation_mode.png" width="50%" align="center">
|
|
||||||
|
|
||||||
Not all notebooks are designed for this presentation mode.
|
|
||||||
|
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
|
||||||
Feedback **is highly encouraged** and will be incorporated.
|
Feedback **is highly encouraged** and will be incorporated.
|
||||||
|
|
|
@ -46,11 +46,6 @@ def init_project(session):
|
||||||
):
|
):
|
||||||
session.run("poetry", "run", "pre-commit", "install", f"--hook-type={type_}")
|
session.run("poetry", "run", "pre-commit", "install", f"--hook-type={type_}")
|
||||||
|
|
||||||
# Copy the extensions' JavaScript and CSS files into Jupyter's search directory.
|
|
||||||
session.run(
|
|
||||||
"poetry", "run", "jupyter", "contrib", "nbextension", "install", "--user"
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
@nox.session(venv_backend="none")
|
@nox.session(venv_backend="none")
|
||||||
def doctests(session):
|
def doctests(session):
|
||||||
|
|
Loading…
Reference in a new issue