Migrate animated_hillshade example script off datashader

Open Beginner friendly
#3,464 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
72/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Quiet
Tech stack
matplotlib, python

Research direction

Start with examples/animated_hillshade.py and inspect its datashader imports and the shade/stack rendering calls. Replace that rendering with matplotlib, then confirm the script runs without a datashader import; if it is no longer referenced, remove it and document why.

Written by the indexing model from the issue text.

Description

area:surface documentation user-guide-example

Reason or Problem

examples/animated_hillshade.py uses datashader only for rendering (shade, stack, the Elevation colormap). There is no rasterization to replace here.

Proposal

  • Remove the datashader imports.
  • Replace shade/stack rendering with matplotlib, or, if the script is stale and no longer referenced, remove it instead.
  • Confirm the script still runs (or document its removal).

Done when

  • The script runs with no datashader import, or it is removed with a note on why.

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

Dominant language
Python
Stars
972
Forks
92
Avg merge
2d 12h
Merged PRs (30d)
7

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from xarray-contrib/xarray-spatial

All issues in xarray-contrib/xarray-spatial

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.