- Notifications
You must be signed in to change notification settings - Fork231
OBSOLETE - Dash v2.11+ has Jupyter support built in!
License
plotly/jupyter-dash
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Thejupyter-dash
package is no longer necessary, all of its functionality has been merged intodash
. Seehttps://dash.plotly.com/dash-in-jupyter for usage details, and if you have any questions please join the discussion athttps://community.plotly.com/
The old readme is below for those still using the package, butjupyter-dash
will not receive any further updates.
This library makes it easy to develop Plotly Dash apps interactively from within Jupyter environments (e.g. classic Notebook, JupyterLab, Visual Studio Code notebooks, nteract, PyCharm notebooks, etc.).
See thenotebooks/getting_started.ipynb for more information and example usage.
You can install the JupyterDash Python package using pip...
$ pip install jupyter-dash
or conda
$ conda install -c conda-forge -c plotly jupyter-dash
When used in JupyterLab, JupyterDash depends on thejupyterlab-dash
JupyterLab extension, which requires JupyterLab version 2.0 or above.
This extension is included with the Python package, but in order to activate it JupyterLab must be rebuilt. JupyterLab should automatically produce a popup dialog asking for permission to rebuild, but the rebuild can also be performed manually from the command line using:
$ jupyter lab build
To check that the extension is installed properly, calljupyter labextension list
.
As of version 0.3.0,JupyterDash
works in Colab with no additional configuration. Just installjupyter-dash
using pip in a Colab notebook cell
!pip install jupyter-dash
To learn more about the features of JupyterDash, check out theannouncement post.
To develop JupyterDash, first create and activate a virtual environment using virtualenv or conda.
Then clone the repository and change directory to the repository root:
$ git clone https://github.com/plotly/jupyter-dash.git$ cd jupyter-dash
Then install the dependencies:
$ pip install -r requirements.txt -r requirements-dev.txt
Then install the Python package in editable mode. Note: this will requirenodejs to be installed.
$ pip install -e .
Then install the classic notebook extension in development mode:
$ jupyter nbextension install --sys-prefix --symlink --py jupyter_dash$ jupyter nbextension enable --py jupyter_dash
Then install the JupyterLab extension in development mode:
$ jupyter labextension link extensions/jupyterlab
For release, build the JupyterLab extension to bundle with the Python package (seeRELEASE.md for the full process):
$ python setup.py build_js
About
OBSOLETE - Dash v2.11+ has Jupyter support built in!
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors9
Uh oh!
There was an error while loading.Please reload this page.