Skip to content

Overhaul plot styling and extract fits_* output functions#404

Merged
Jammy2211 merged 2 commits intomainfrom
feature/plot-improvements
Mar 25, 2026
Merged

Overhaul plot styling and extract fits_* output functions#404
Jammy2211 merged 2 commits intomainfrom
feature/plot-improvements

Conversation

@Jammy2211
Copy link
Copy Markdown
Collaborator

Summary

  • All colormap defaults changed from "jet" to None (resolves to configured default via autoarray)
  • save_tracer_fits() and save_source_plane_images_fits() extracted to tracer_plots.py with full docstrings; plotter.py reduced to one-liner delegate calls
  • Unused imports (ast, numpy, conf, hdu_list_for_output_from) removed from plotter.py

Test plan

  • Run tracer subplot and verify autoarray colormap is used (not jet)
  • Check tracer.fits and source_plane_images.fits still written correctly
  • Verify plotter.py has no inline FITS-writing logic remaining

🤖 Generated with Claude Code

Jammy2211 and others added 2 commits March 25, 2026 12:05
- All colormap defaults changed from "jet" to None (resolves to
  the configured default colormap via autoarray)
- save_tracer_fits() and save_source_plane_images_fits() extracted
  to tracer_plots.py; plotter.py reduced to one-liner delegate calls
- Unused imports (ast, numpy, conf, hdu_list_for_output_from) removed
  from plotter.py

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@Jammy2211 Jammy2211 merged commit 7c5661b into main Mar 25, 2026
0 of 8 checks passed
@Jammy2211 Jammy2211 deleted the feature/plot-improvements branch March 25, 2026 19:34
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