From 110bb3b38ee2f0741f610ee6f5d2bc362d645768 Mon Sep 17 00:00:00 2001 From: Alexander Hess Date: Mon, 8 Apr 2024 17:45:35 +0200 Subject: [PATCH] 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 --- README.md | 27 +-------------------------- noxfile.py | 5 ----- 2 files changed, 1 insertion(+), 31 deletions(-) diff --git a/README.md b/README.md index 35aa76e..c1b0db9 100644 --- a/README.md +++ b/README.md @@ -139,7 +139,7 @@ Then, unpack the ZIP file into a folder of your choice, -### Alternative Installation (for Instructors) +### Alternative Installation (for Instructors using Linux) Python can also be installed in a "pure" way 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, -#### Interactive Presentation Mode & Live Coding - -`poetry install` also installs the - [RISE ](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 ](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. - - - -Not all notebooks are designed for this presentation mode. - - ## Contributing Feedback **is highly encouraged** and will be incorporated. diff --git a/noxfile.py b/noxfile.py index 869cdab..03e40cb 100644 --- a/noxfile.py +++ b/noxfile.py @@ -46,11 +46,6 @@ def init_project(session): ): 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") def doctests(session):