plotly / plotly/plotly.py

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

オープン
#3,052 コメント 7 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

bug P3
主要言語
Python
スター
18.8k
フォーク
2.8k
平均マージ
16時間 26分
マージ済み PR(30日)
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. リポジトリをフォークし、ブランチを切って変更します。
  4. 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 を短くまとめたダイジェスト。