0

Examples from https://hvplot.holoviz.org/user_guide/Widgets.html work fine in jupyter lab but vscode only displays them and interactive widgets dont update on drop down events. How to enable this in vscode

user15420598
  • 107
  • 7

1 Answers1

1

Found this solution at https://github.com/bokeh/jupyter_bokeh/issues/131 after installing jupyter_bokeh , ran the following code in the above link and it worked

import panel as pn
pn.extension(comms="vscode")

widget = pn.widgets.FloatSlider(start=0.0, end=10.0, value=2.0, step=0.1)
widget

pn.Column(widget, widget.param.value)
user15420598
  • 107
  • 7