Skip to content

docs(chapter_1): add missing imports to tutorial_0_visualization#10

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/tutorial-0-path-import
May 28, 2026
Merged

docs(chapter_1): add missing imports to tutorial_0_visualization#10
Jammy2211 merged 1 commit into
mainfrom
feature/tutorial-0-path-import

Conversation

@Jammy2211
Copy link
Copy Markdown
Collaborator

Summary

Tutorial 0 used Path("dataset", "imaging", "simple__sersic") and ag.Imaging.from_fits(...) with no imports of Path, ag, or aplt. NEEDS_FIX-parked 48 days ago for this exact reason.

Three additive import lines, no logic changes.

Test plan

  • python scripts/chapter_1_introduction/tutorial_0_visualization.py runs to completion locally.

🤖 Generated with Claude Code

Tutorial used `Path("dataset", "imaging", "simple__sersic")` and
`ag.Imaging.from_fits(...)` but had no imports of `Path`, `ag`, or
`aplt`. Crashed at line 38 with `NameError: name 'Path' is not
defined` (NEEDS_FIX-parked 48 days). Add the three missing imports
in the literate-style position just before the first use, matching
the convention of other tutorials in this chapter.

Verified locally: the script now runs to completion under
`PYAUTO_TEST_MODE=2 python scripts/chapter_1_introduction/tutorial_0_visualization.py`.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@Jammy2211 Jammy2211 merged commit aaf3096 into main May 28, 2026
6 checks passed
@Jammy2211 Jammy2211 deleted the feature/tutorial-0-path-import branch May 28, 2026 21:14
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