From ddf0a477ae9507fd6ccb2a279834620b0f546d20 Mon Sep 17 00:00:00 2001 From: Andrea Date: Thu, 9 May 2019 16:33:26 -0700 Subject: [PATCH] Improved extension install instructions for lab vs. notebook --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 053a347f..50023e67 100644 --- a/README.md +++ b/README.md @@ -16,10 +16,19 @@ Using pip: ```bash pip install pythreejs +``` + +And then install the extension for jupyter notebooks +``` jupyter nbextension install --py --symlink --sys-prefix pythreejs jupyter nbextension enable --py --sys-prefix pythreejs ``` +Or for jupyter lab: +``` +jupyter labextension install jupyter-threejs +``` + Note for developers: the `--symlink` argument on Linux or OS X allows one to modify the JavaScript code in-place. This feature is not available with Windows.