matplotlib / matplotlib/ipympl

"Error displaying widget" using Jupyter Lab 1.0.2

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

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

主要言語
Jupyter Notebook
スター
1.7k
フォーク
234
PR マージ指標
30日以内にマージされた PR はありません

説明

Possibly related to #124, I am trying to run a super simple example after following the installation instructions:

pip install ipympl

# If using JupyterLab
# Install nodejs: https://nodejs.org/en/download/
jupyter labextension install @jupyter-widgets/jupyterlab-manager
jupyter labextension install jupyter-matplotlib

nodejs info:

$ node -v
v10.16.0
$ npm version
{ npm: '6.9.0',
...
}

Jupyter info:

$ jupyter --version
jupyter core     : 4.5.0
jupyter-notebook : 6.0.0
qtconsole        : not installed
ipython          : 7.6.1
ipykernel        : 5.1.1
jupyter client   : 5.3.1
jupyter lab      : 1.0.2
nbconvert        : 5.5.0
ipywidgets       : 7.5.0
nbformat         : 4.4.0
traitlets        : 4.3.2

Simple example:

# Enabling the `widget` backend.
# This requires jupyter-matplotlib a.k.a. ipympl.
# ipympl can be install via pip or conda.
%matplotlib widget
# aka import ipympl
 
import matplotlib.pyplot as plt
 
plt.plot([0, 1, 2, 2])
plt.show()

Error:

Error displaying widget

Not sure what else I need, or where a version mismatch is, any help is appreciated. Thank you!

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、記載されている ipympl、JupyterLab、Node.js、Jupyter の各パッケージバージョンと、示されている labextension コマンドを使って例を再現します。JupyterLab のウィジェット拡張機能のセットアップとバージョン互換性を確認します。完了の条件は、例で "Error displaying widget" ではなく、プロットされたウィジェットが表示されることです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
jupyter-notebook, node.js, python
領域
frontend, tooling
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。