Warning
The GoslingWidget
is now an anywidget and lives in the gosling-lang/gos
repo.
pip install gosling-widget
pip install -e .
If you are using the classic Jupyter Notebook you need to install the nbextension:
jupyter nbextension install --py --symlink --sys-prefix gosling_widget
jupyter nbextension enable --py --sys-prefix gosling_widget
Note for developers:
- the
-e
pip option allows one to modify the Python code in-place. Restart the kernel in order to see the changes. - the
--symlink
argument on Linux or OS X allows one to modify the JavaScript code in-place. This feature is not available with Windows.
For developing with JupyterLab:
jupyter labextension develop --overwrite gosling_widget
npm version [major|minor|patch] # should automatically create git tag "vX.X.X"
git push --follow-tags