【发布时间】:2020-06-27 01:29:48
【问题描述】:
Plotly 在 Jupyterlab 中不起作用。我认为所需的扩展存在冲突,但我不确定。 在 Plotly https://plotly.com/python/troubleshooting/ 检查故障排除时,他们建议删除扩展并重新安装。 但我发现 Jupyterlab 更新附带了一个名为“jupyterlab-plotly-extension”的附加扩展 Plotly 在他们的说明中没有提到让它在 JupyterLab https://plotly.com/python/getting-started/#jupyterlab-support-python-35
中工作我的问题是:应该安装哪些扩展才能使 Plotly 在 JupyterLab 中工作?
- 在 Plotly 支持中提到的 jupyterlab-plotly
- JupyterLab 附带的 jupyterlab-plotly-extension
【问题讨论】:
-
只是给后人的注意事项:从 5.0 开始(在撰写本文时尚未发布)为 JupyterLab 安装 plotly 将更加简单(只有一个
pip install仅此而已) - see here。 -
现在可以使用 5.0 了;使用
pip install plotly。
标签: python plotly jupyter libraries jupyter-lab