【问题标题】:How to rotate the 3D scatter plots in google colaboratory?如何在 google colaboratory 中旋转 3D 散点图?
【发布时间】:2019-01-27 03:57:27
【问题描述】:

我在 google colab 中生成 3d 散点图,但问题是生成的无花果是静态的,不可旋转。 我也试过命令

%matplotlib 笔记本

启用 3D 散射旋转,因为它显然在 jupyter notebook 环境中工作,但似乎这在 google colab 环境中不起作用。

你可以找到我的代码here

【问题讨论】:

  • 确实如此。遗憾的是 3D 旋转不适用于 Google Colab。

标签: python data-visualization scatter-plot google-colaboratory scatter3d


【解决方案1】:

尝试 plotly(python 图形库)3D scatter plot

【讨论】:

  • 找到了plotly的官方示例(虽然不是专门针对3d散点图):colab.research.google.com/notebooks/…
  • 我直接访问了提供的链接,它的实现非常简单,而且 3D 情节可以旋转!
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2022-01-27
  • 2017-08-28
  • 2019-11-19
  • 1970-01-01
  • 2019-08-04
  • 1970-01-01
  • 2010-12-31
相关资源
最近更新 更多