plotly / plotly/plotly.py

Jupyterlab 3: Renderer broken inside fresh env with extensions properly installed

未关闭
#3,052 7 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

bug P3
主要语言
Python
星标
18.8k
派生
2.8k
平均合并
16 小时 26 分钟
30 天内合并 PR
21

描述

Thanks for having detailed troubleshooting docs for Jupyterlab issues, however I'm unable to use the plotly_mimetype renderer (blank plot) in a fresh Jupyterlab (3.0.5) conda environment having followed the troubleshooting and getting started guides almost to the letter. The Plotly express plot works if I downgrade to an early 2.x jupyterlab version. This point in particular makes me suspicous that I have encountered an issue, perhaps related to Lab 3.x

Have I somehow missed something? Using Mac OS 10.14.6

Server

  1. conda create -n jlab-server jupyterlab nodejs ipywidgets>=7.5
  2. jupyter labextension install jupyterlab-plotly@4.14.3
  3. jupyter labextension install @jupyter-widgets/jupyterlab-manager plotlywidget@4.14.3
  4. jupyter lab build

Kernel
conda install -c plotly plotly=4.14.3

Both jupyter labextension list and the lab UI confirm that these extensions are installed. I'm not confusing server and kernel environments.

$ jupyter labextension list
JupyterLab v3.0.5
/Users/bede/conda/envs/jlab-server/share/jupyter/labextensions
        @jupyter-widgets/jupyterlab-manager v3.0.0 enabled OK (python, jupyterlab_widgets)

Other labextensions (built into JupyterLab)
   app dir: /Users/bede/conda/envs/jlab-server/share/jupyter/lab
        jupyterlab-plotly v4.14.3 enabled OK
        plotlywidget v4.14.3 enabled OK

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

使用所列出的 JupyterLab 3.0.5 服务器设置、扩展和 Plotly 4.14.3 内核环境重现空白图表。先从链接的故障排除和入门指南开始,然后将正常工作的 JupyterLab 2.x 设置与报告中显示的扩展列表进行比较。完成的标准是确定 JupyterLab 3 的兼容性问题,并确认 plotly_mimetype 在全新环境中能够正确渲染。

由索引模型根据 Issue 内容生成。

评估

技术栈
jupyter-notebook, python
领域
data-visualization, frontend
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
38/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。