Migrate surface user guide off datashader

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
72/100
issue の種類
リファクタリング
明瞭さ
明確に書かれている
活発さ
静か
技術スタック
matplotlib, python

調査の方向性

Start with docs/source/user_guide/surface.ipynb and run it to inspect the current datashader-based workflow, including Canvas, shade, stack, and Elevation usage. Replace the documented workflow with xarray-spatial rasterization and matplotlib rendering, then re-execute the notebook. Done means it runs top to bottom without importing datashader, produces the expected plots, and regenerates the preview image cleanly.

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

説明

area:surface documentation user-guide-example

Reason or Problem

docs/source/user_guide/surface.ipynb imports datashader and uses Canvas to set up the terrain grid plus shade/stack and the Elevation colormap for rendering. xarray-spatial now provides its own rasterization, and matplotlib covers the rendering.

Proposal

  • Remove the datashader imports.
  • Replace any Canvas-based grid setup with xarray-spatial's own functions (e.g. generate_terrain with a plain coordinate setup).
  • Replace shade/stack and datashader colormaps with matplotlib (imshow, a terrain-style colormap).
  • Update the prose cells that describe the datashader workflow.
  • Re-execute the notebook so outputs and the preview image 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.

主要言語
Python
スター
972
フォーク
92
平均マージ
2日 12時間
マージ済み PR(30日)
7

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

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

はじめの一歩

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

xarray-contrib/xarray-spatial のほかの issue

xarray-contrib/xarray-spatial の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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