Skip to content

Migrate pathfinding user guide off datashader #3460

Description

@brendancol

Reason or Problem

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

Proposal

  • Remove the datashader imports.
  • Replace Canvas().line()/Canvas().points() rasterization with arr.xrs.rasterize(...).
  • Replace shade/stack/dynspread/set_background 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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions