【问题标题】:Interactive python 3d plot in jupyter notebook within VSCodeVSCode中jupyter笔记本中的交互式python 3d绘图
【发布时间】:2021-01-27 13:13:42
【问题描述】:

当我在 Chrome 中使用 jupyter notebook 时,我有机会展示交互式 3d 图,如下所示:

现在我想在 VSCode 中看到相同的结果。这件事有什么解决办法吗?

VSCode 中的相同代码:

【问题讨论】:

  • 什么是 test_model,您介意发布代码吗?
  • 没关系,因为我的问题是关于其他事情的
  • 你安装了IPython模块吗?

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


【解决方案1】:

您应该使用%matplotlib widget 而不是%matplotlib notebook

【讨论】:

  • 可悲的是,这对我来说是一个异常。
猜你喜欢
  • 2016-07-04
  • 1970-01-01
  • 2019-11-13
  • 1970-01-01
  • 2017-03-22
  • 2016-11-16
  • 2020-08-13
  • 1970-01-01
  • 2020-07-19
相关资源
最近更新 更多