Migrate proximity user guide off datashader

未关闭
#3,454 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
75/100
Issue 类型
文档
描述清晰度
描述清楚
活跃度
冷清
技术栈
python

调研方向

Start with docs/source/user_guide/proximity.ipynb and inspect its imports, plotting cells, and prose describing the datashader workflow. Re-execute the notebook after replacing the named rasterization and rendering steps, then verify it runs top to bottom without datashader and regenerates the expected plots and preview image.

由索引模型根据 Issue 内容生成。

描述

area:proximity documentation user-guide-example

Reason or Problem

docs/source/user_guide/proximity.ipynb imports datashader, rasterizes points with Canvas().points(), and renders with shade/stack/dynspread.

Proposal

  • Remove the datashader imports.
  • Replace Canvas().points() point rasterization with arr.xrs.rasterize(...).
  • Replace shade/stack/dynspread and datashader colormaps with matplotlib.
  • 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 小时
30 天内合并 PR
7

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

xarray-contrib/xarray-spatial 的其他 Issue

查看 xarray-contrib/xarray-spatial 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。