Skip to content

Commit c3c0087

Browse files
Jammy2211claude
authored andcommitted
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 <noreply@anthropic.com>
1 parent d53bfcc commit c3c0087

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

autolens/plot/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
fits_imaging,
1818
)
1919
from autoarray.dataset.plot.interferometer_plots import (
20+
subplot_interferometer_dataset,
2021
subplot_interferometer_dirty_images,
2122
fits_interferometer,
2223
)
@@ -60,6 +61,7 @@
6061
subplot_fit as subplot_fit_interferometer,
6162
subplot_fit_real_space as subplot_fit_interferometer_real_space,
6263
subplot_tracer_from_fit as subplot_fit_interferometer_tracer,
64+
subplot_fit_interferometer_combined,
6365
)
6466
from autolens.point.plot.fit_point_plots import subplot_fit as subplot_fit_point
6567
from autolens.point.plot.point_dataset_plots import subplot_dataset as subplot_point_dataset

docs/api/plot.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,15 @@ Create figures and subplots showing quantities of standard **PyAutoLens** object
5050
subplot_fit_combined
5151
subplot_fit_combined_log10
5252

53-
**Interferometer Fit Subplots:**
53+
**Interferometer Subplots:**
5454

5555
.. autosummary::
5656
:toctree: _autosummary
5757

58+
subplot_interferometer_dataset
5859
subplot_fit_interferometer
5960
subplot_fit_interferometer_real_space
61+
subplot_fit_interferometer_combined
6062

6163
**Point Source Subplots:**
6264

0 commit comments

Comments
 (0)