Skip to content

Add support for sidecar or tear-off style widgets (Support for separate windows for output rather than inline) #1120

Open
@psychemedia

Description

@psychemedia

The JupyterLab UI allows for the output view of code cells to be "torn off" into their own view (eg feature request https://github.com/microsoft/vscode-python/issues/8740).

The JupyterLab sidecar extension is an alternative context manager that allows a a user to create a reference to a new view and then display a widget within it.

from sidecar import Sidecar
from ipywidgets import IntSlider

sc = Sidecar(title='Sidecar Output')

#Create some sort of widget
sl = IntSlider(description='Some slider')

# Create the separate output view and populate it with the widget
with sc:
    display(sl)

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalityipywidgetsRendering, loading, saving, anything to do with IPyWidgets

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions