-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
Is it possible to fill the full height of the Sidecar
output with any arbitrary ipywidget? I noticed ipyleaflet
is handled incredibly well -- having a reasonable min-height in a standard cell output but filling the full Sidecar height
from IPython.display import display, IFrame
from sidecar import Sidecar
from ipywidgets.widgets import HTML
Sidecar.close_all()
with Sidecar(title="IFrame"):
display(IFrame("https://www.jupyter.org/", "100%", "100%"))
with Sidecar(title="HTML"):
display(HTML('<iframe src="https://www.jupyter.org/" style="width: 100%; height: 100%;"></iframe>'))
IFrame | HTML |
---|---|
![]() |
![]() |
Why? I'm trying to render other widget types like PyVista's (which is an HTML widget under the hood) or arbitrary Panel panes
Metadata
Metadata
Assignees
Labels
No labels