Migrate proximity user guide off datashader

Offen
#3,454 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
75/100
Issue-Typ
Dokumentation
Klarheit
Klar beschrieben
Aktivitätsstatus
Ruhig
Tech-Stack
python

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.

Vorherrschende Sprache
Python
Sterne
972
Forks
92
Ø Merge
2 T. 12 Std.
Gemergte PRs (30 T.)
7

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus xarray-contrib/xarray-spatial

Alle Issues in xarray-contrib/xarray-spatial

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.