xarray-contrib / xarray-contrib/xarray-spatial
Migrate classification-methods example off datashader
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 972
- Forks
- 92
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 7
Description
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
shadewith matplotlibimshowusing 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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open examples/xarray-spatial_classification-methods.ipynb and run the notebook to inspect its current rendering cells and outputs. Replace the datashader-based rendering with matplotlib imshow using the existing colormaps, update prose that mentions datashader, and re-execute it. Done means the notebook runs top to bottom, has no datashader import, and produces the expected plots.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- matplotlib, python
- Domain
- data-visualization
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- Half a day
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 78/100