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
Is it possible to fill the full height of the
Sidecaroutput with any arbitrary ipywidget? I noticedipyleafletis handled incredibly well -- having a reasonable min-height in a standard cell output but filling the full Sidecar heightWhy? I'm trying to render other widget types like PyVista's (which is an HTML widget under the hood) or arbitrary Panel panes