forked from lux-org/lux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated docs for JupyterLab (lux-org#148)
* added functionality to delete Vis * fixed deletion logic * add observer to automatically update deletions * able to refresh widget on setting intent * support for setting intent from frontend * quick fix to output * changed variable intentindex name * added better error msg for > 1 intent for vis * reverting some changes * updated install and faq * added install_lab.sh script
- Loading branch information
1 parent
f5be470
commit da79415
Showing
2 changed files
with
12 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,11 +11,19 @@ You can install the Python Lux API through `PyPI <https://pypi.org/project/lux-a | |
pip install lux-api | ||
You can install the Lux Jupyter widget through `npm <https://www.npmjs.com/package/lux-widget>`_ | ||
To activate the Jupyter notebook extension: | ||
|
||
.. code-block:: bash | ||
npm i lux-widget | ||
jupyter nbextension install --py luxwidget | ||
jupyter nbextension enable --py luxwidget | ||
To activate the JupyterLab extension: | ||
|
||
.. code-block:: bash | ||
jupyter labextension install @jupyter-widgets/jupyterlab-manager | ||
jupyter lab build | ||
Additional Requirements | ||
----------------------- | ||
|
@@ -56,6 +64,7 @@ Then, we can install the `Lux Jupyter widget <https://github.com/lux-org/lux-wid | |
git clone [email protected]:lux-org/lux-widget.git | ||
cd lux-widget/ | ||
npm install | ||
bash install.sh | ||
sh install.sh | ||
sh install_lab.sh | ||
If you are experiencing issues with installing Lux, please checkout the `Troubleshooting page <https://lux-api.readthedocs.io/en/latest/source/guide/FAQ.html#troubleshooting-tips>`_. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters