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
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.