From 714d574f72da95bd5269fd1a7c4fd6543378f249 Mon Sep 17 00:00:00 2001 From: alice grosch <a.grosch@fz-juelich.de> Date: Tue, 21 Apr 2020 13:39:16 +0000 Subject: [PATCH] Update installation instructions in README.md --- README.md | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index dd1f020..b0f0220 100644 --- a/README.md +++ b/README.md @@ -4,17 +4,22 @@ ParaView-Web RemoteRenderer in Jupyter ## Installation -You can install pvlink using `pip` and `jupyter labextension install`: +You can install pvlink using `pip`. -```bash -pip install pvlink -jupyter labextension install pvlink +``` +$ pip install pvlink ``` If you are using Jupyter Notebook 5.2 or earlier, you may also need to enable the nbextension: -```bash -jupyter nbextension enable --py [--sys-prefix|--user|--system] pvlink +``` +$ jupyter nbextension enable --py [--sys-prefix|--user|--system] pvlink +``` + +To enable pvlink with Jupyter lab, make sure the Jupyter widgets extension is installed, and install the pvlink extension: +``` +$ jupyter labextension install @jupyter-widgets/jupyterlab-manager # install the Jupyter widgets extension +$ jupyter labextension install pvlink ``` -- GitLab