简体   繁体   中英

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...

jupyter 中的交互示例

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

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.

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.)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM