plotly / plotly/plotly.py

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

Đang mở
#3,052 7 bình luận 1 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

bug P3
Ngôn ngữ chính
Python
Star
18.8k
Fork
2.8k
Merge trung bình
16 giờ 26 phút
Pull request đã merge (30 ngày)
21

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Tái hiện biểu đồ trống với thiết lập máy chủ JupyterLab 3.0.5, các extension và môi trường kernel Plotly 4.14.3 được liệt kê. Bắt đầu với các hướng dẫn khắc phục sự cố và bắt đầu sử dụng được liên kết, sau đó so sánh thiết lập JupyterLab 2.x đang hoạt động với danh sách extension được hiển thị trong báo cáo. Công việc được xem là hoàn tất khi xác định được vấn đề tương thích của JupyterLab 3 và xác nhận rằng plotly_mimetype được render chính xác trong một môi trường mới.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
jupyter-notebook, python
Lĩnh vực
data-visualization, frontend
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
38/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.