【问题标题】:Interactive Jupyter widgets in VSCode with ms-python 2018.10.1VSCode 中的交互式 Jupyter 小部件与 ms-python 2018.10.1
【发布时间】:2018-11-12 08:28:19
【问题描述】:

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

有没有办法让 jupyter 交互式小部件工作?

此示例在 jupyter notebook 中生成一个滑块...

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

我了解 VSCode 中的此功能处于早期状态。我想知道这是限制还是我遗漏了什么。

【问题讨论】:

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


    【解决方案1】:

    ipywidgets 的支持已于 2020 年 4 月 20 日发布(请参阅 Changelog)。

    (原来的答案:这确实是一个已知的限制,ipywidgets 目前不支持。请参阅 vscode-python 存储库中的this issue。)

    【讨论】:

      猜你喜欢
      • 2019-03-06
      • 2017-01-13
      • 2019-10-27
      • 2021-01-27
      • 2019-04-30
      • 2017-11-03
      • 1970-01-01
      • 2023-02-05
      相关资源
      最近更新 更多