Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Interactive Jupyter widgets in VSCode with ms-python 2018.10.1

I am using VSCode 1.27.2 and the ms-python 2018.10.1 extension with the new "Data Science features" on Windows 7.

Is there any way of getting jupyter interactive widgets to work?

This example generates a slider in the jupyter notebook...

interact example in jupyter

...while VSCode only prints the default value 10:

interact example in VSCode

I understand that this feature in VSCode is in an early state. I want to know if it is a limitation or if I am missing something.

like image 968
duddel Avatar asked Oct 19 '25 13:10

duddel


1 Answers

Support for ipywidgets has been released on 20 April 2020 (see Changelog).

(Original answer: It is indeed a known limitation, ipywidgets are not supported as of today. See this issue in the vscode-python repository.)

like image 115
matangover Avatar answered Oct 21 '25 02:10

matangover



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!