/sidepanel

A sidecar output widget for JupyterLab

Primary LanguageTypeScriptBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Sidepanel

A widget that provides a fancy vbox in a separate windown in JupyterLab

Installation

jupyter labextension install @jupyter-widgets/jupyterlab-manager  # if not installed already
pip install sidepanel
jupyter labextension install @regulus/sidepanel

For development

./dev-install.sh

Usage

from sidepanel import SidePanel
from ipywidgets import IntSlider

panel = SidePanel(title='Sidepanel')
sl = IntSlider(description='Value')
panel.add(sl, header='A slider example')

panel1 = SidePanel(side='split-right', ref=panel)

side parameters can be one of 'top', 'right', 'bottom', 'left', 'before', 'after'