From c3c00874c228e53c8d460018910a343fe74ea947 Mon Sep 17 00:00:00 2001 From: Jammy2211 Date: Thu, 30 Jul 2026 15:46:23 +0100 Subject: [PATCH] feat: export subplot_interferometer_dataset + subplot_fit_interferometer_combined `autolens.plot` was missing two interferometer plotting symbols that are reachable everywhere else in the stack: - `subplot_interferometer_dataset` is exported by `autogalaxy.plot` from `autoarray.dataset.plot.interferometer_plots`, but `autolens.plot` imported only `subplot_interferometer_dirty_images` and `fits_interferometer` from that same module. The interferometer dataset subplot was therefore unreachable from `autolens.plot`, which is why the autolens_workspace interferometer example has no dataset subplot while its autogalaxy counterpart does. - `subplot_fit_interferometer_combined` is autolens's own function in `autolens/interferometer/plot/fit_interferometer_plots.py`, left unexported while the imaging equivalent `subplot_fit_combined` is exported. Both changes are purely additive. This is the mirror of PyAutoGalaxy#538, which closed the same asymmetry in the other direction. Co-Authored-By: Claude Opus 5 --- autolens/plot/__init__.py | 2 ++ docs/api/plot.rst | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/autolens/plot/__init__.py b/autolens/plot/__init__.py index c309ad091..f4b50822e 100644 --- a/autolens/plot/__init__.py +++ b/autolens/plot/__init__.py @@ -17,6 +17,7 @@ fits_imaging, ) from autoarray.dataset.plot.interferometer_plots import ( + subplot_interferometer_dataset, subplot_interferometer_dirty_images, fits_interferometer, ) @@ -60,6 +61,7 @@ subplot_fit as subplot_fit_interferometer, subplot_fit_real_space as subplot_fit_interferometer_real_space, subplot_tracer_from_fit as subplot_fit_interferometer_tracer, + subplot_fit_interferometer_combined, ) from autolens.point.plot.fit_point_plots import subplot_fit as subplot_fit_point from autolens.point.plot.point_dataset_plots import subplot_dataset as subplot_point_dataset diff --git a/docs/api/plot.rst b/docs/api/plot.rst index 0a27e2819..ad37955c6 100644 --- a/docs/api/plot.rst +++ b/docs/api/plot.rst @@ -50,13 +50,15 @@ Create figures and subplots showing quantities of standard **PyAutoLens** object subplot_fit_combined subplot_fit_combined_log10 -**Interferometer Fit Subplots:** +**Interferometer Subplots:** .. autosummary:: :toctree: _autosummary + subplot_interferometer_dataset subplot_fit_interferometer subplot_fit_interferometer_real_space + subplot_fit_interferometer_combined **Point Source Subplots:**