Migrate classification-methods example off datashader

Đang mở Phù hợp với người mới
#3,463 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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

Đánh giá

Độ khó
2/5
Thời gian dự kiến
Nửa ngày
Mức phù hợp với người mới
78/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
matplotlib, python
Lĩnh vực
data-visualization

Hướng nghiên cứu

Mở examples/xarray-spatial_classification-methods.ipynb và chạy notebook để kiểm tra các ô kết xuất và đầu ra hiện tại. Thay thế phần kết xuất dựa trên datashader bằng matplotlib imshow sử dụng các colormap hiện có, cập nhật phần mô tả có đề cập đến datashader, rồi thực thi lại. Hoàn tất khi notebook chạy từ đầu đến cuối, không có import datashader và tạo ra các biểu đồ mong đợi.

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

Mô tả

area:analysis documentation user-guide-example

Reason or Problem

examples/xarray-spatial_classification-methods.ipynb uses datashader only for rendering (shade with matplotlib colormaps). There is no rasterization to replace here.

Proposal

  • Remove the datashader import.
  • Replace shade with matplotlib imshow using the same colormaps.
  • Update any prose that mentions datashader.
  • Re-execute the notebook so outputs regenerate cleanly.

Done when

  • The notebook runs top to bottom with no datashader import and produces the expected plots.

Part of removing datashader as a dependency; final packaging removal is tracked in #3450.

Ngôn ngữ chính
Python
Star
972
Fork
92
Merge trung bình
2 ngày 12 giờ
Pull request đã merge (30 ngày)
7

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.

Issue khác của xarray-contrib/xarray-spatial

Tất cả issue của xarray-contrib/xarray-spatial

Issue tương tự

Thêm issue về Python

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.