简体   繁体   English

VSCode 中 jupyter notebook 中的交互式 python 3d 绘图

[英]Interactive python 3d plot in jupyter notebook within VSCode

When I use jupyter notebook in Chrome, I had the opportunity to show interactive 3d plots, like this:当我在 Chrome 中使用 jupyter notebook 时,我有机会展示交互式 3d 绘图,如下所示: 在此处输入图片说明

Now I would like to see the same result in the VSCode.现在我想在 VSCode 中看到相同的结果。 Are there any solutions to this thing?这件事有什么解决办法吗?

The same code in the VSCode: VSCode 中的相同代码: 在此处输入图片说明

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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