Skip to content

refactor: replace Grid1D with Grid2DIrregular for radial profiles#55

Merged
Jammy2211 merged 1 commit into
releasefrom
feature/data-typing-simplify
Apr 13, 2026
Merged

refactor: replace Grid1D with Grid2DIrregular for radial profiles#55
Jammy2211 merged 1 commit into
releasefrom
feature/data-typing-simplify

Conversation

@Jammy2211
Copy link
Copy Markdown
Collaborator

Summary

  • Replace Grid1D.uniform_from_zero() with Grid2DIrregular for 1D radial profile plot
  • Part of PyAutoArray decorator cleanup (PyAutoArray#277) which removes Grid1D from the type-dispatch system

API Changes

None — internal script change only.

Test Plan

  • scripts/guides/plot/examples/plotters.py — not in smoke tests but follows same pattern as validated autogalaxy change

🤖 Generated with Claude Code

Grid1D support is being removed from the decorator type-dispatch system.
This script now uses Grid2DIrregular with coordinates along the x-axis
to achieve the same 1D radial profile plot.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant