带有ms-python 2018.10.1的VSCode中的交互式Jupyter小部件

时间:2018-11-12 08:28:19

标签: python visual-studio-code jupyter-notebook

我正在Windows 7上使用带有新的“数据科学功能”的VSCode 1.27.2和ms-python 2018.10.1扩展。

有什么方法可以使jupyter交互式小部件正常工作?

此示例在jupyter笔记本中生成一个滑块...

interact example in jupyter

...而VSCode仅打印默认值10:

interact example in VSCode

我知道VSCode中的此功能处于早期状态。我想知道这是一个限制,还是我缺少什么。

1 个答案:

答案 0 :(得分:1)

这确实是一个已知的限制,今天不支持ipywidgets。请参见vscode-python存储库中的this issue