JSPM

@jupyter-widgets/jupyterlab-sidecar

0.2.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 17
  • Score
    100M100P100Q57912F
  • License BSD-3-Clause

A sidecar output widget for JupyterLab

Package Exports

  • @jupyter-widgets/jupyterlab-sidecar

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@jupyter-widgets/jupyterlab-sidecar) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Sidecar

Build Status codecov

A sidecar output widget for JupyterLab

Installation

If you use jupyterlab:

pip install sidecar
jupyter labextension install @jupyter-widgets/jupyterlab-sidecar

Usage

The sidecar widget is used as a context manager, just like ipywidgets' output widget.

from sidecar import Sidecar
from ipywidgets import IntSlider

sc = Sidecar(title='Sidecar Output')
sl = IntSlider(description='Some slider')
with sc:
    display(sl)

When a single output is displayed in a Sidecar, it is allowed to occupy all of the vertical space available. If more content is displayed, the natural height is used instead.

sidecar