I am trying to integrate IPyWidgets to panel application.
for that, I try Bokeh example:
from ipywidgets import FloatSlider
angle = FloatSlider(min=0, max=360, value=0, step=1, description="Angle")
def on_change(change):
print(f"angle={change['new']} deg")
angle.observe(on_change, names="value")
from ipywidgets_bokeh import IPyWidget
ipywidget = IPyWidget(widget=angle)
The problem is when i call pn.extension()
the whole JupyterLab UI breaks.
Before running extension():
After running extension():
see screencast:
Kazam_screencast_00003