gnestor / jupyterlab-dash

An Extension for the Interactive development of Dash apps in JupyterLab

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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)

About

An Extension for the Interactive development of Dash apps in JupyterLab


Languages

Language:Jupyter Notebook 33.7%Language:TypeScript 27.5%Language:JavaScript 25.3%Language:Python 12.9%Language:CSS 0.5%