在jupyterlab中使用plot.ly - 图形不显示

oba*_*asz 6 anaconda plotly jupyter-lab

我想提请3D PCA与pylot(Scatter3d),但图形没有显示在了jupyterlab仅在jupyter笔记本.

我已经安装了'jupyterlab_plotly'软件包,我能够创建一个'jupyterlab_plotly.Plotly对象',但我无法弄清楚如何在笔记本中实际包含/绘制图形.

我想知道是否有人可以在jypyterlab中使用pyplot发布绘制图形的工作示例.

(该项目的git网站上的示例 - https://github.com/gnestor/jupyterlab_plotly-只呈现'jupyterlab_plotly.Plotly对象',但不是图形本身)

谢谢,

小智 7

我遇到过同样的问题.看起来这个项目已经移到这里:https: //github.com/jupyterlab/jupyter-renderers 安装建议: jupyter labextension install @jupyterlab/plotly-extension 为我工作.