/jupyterlab-dash

An Extension for the Interactive development of Dash apps in JupyterLab

Primary LanguageJupyter Notebook

jupyterlab_dash

A JupyterLab extension for rendering Plotly Dash apps as a separate window in JupyterLab 🎉

JupyterLab and Dash Demo Video

Note:: This extension does not currently support Windows or Python 2

Prerequisites

  • JupyterLab

Installation

We haven't published the component yet, but we will soon. In the meantime, you'll need to clone the repo and install manually:

git clone https://github.com/plotly/jupyterlab-dash
cd jupyterlab-dash
npm install
npm run build
jupyter labextension link .

To rebuild the package and the JupyterLab app:

npm run build
jupyter lab build

Usage

import jupyterlab_dash
import dash
import dash_html_components as html

viewer = jupyterlab_dash.AppViewer(port=8050)

app = dash.Dash(__name__)

app.layout = html.Div('Hello World')

viewer.show(app)