Skip to content

Commit 232cdd4

Browse files
Jammy2211claude
authored andcommitted
Re-export autoarray and autogalaxy plot functions from autolens.plot
Makes all AG galaxy/profile/fit subplot functions and autoarray dataset subplot functions accessible via import autolens.plot as aplt, without requiring users to import from lower-level packages directly. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent a4af8ef commit 232cdd4

1 file changed

Lines changed: 25 additions & 1 deletion

File tree

autolens/plot/__init__.py

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,35 @@
33
from autofit.non_linear.plot.mle_plotters import MLEPlotter
44

55
# ---------------------------------------------------------------------------
6-
# Standalone plot helpers
6+
# Standalone plot helpers (autoarray)
77
# ---------------------------------------------------------------------------
88
from autoarray.plot.array import plot_array
99
from autoarray.plot.grid import plot_grid
1010

11+
from autoarray.dataset.plot.imaging_plots import (
12+
subplot_imaging,
13+
subplot_imaging_dataset_list,
14+
)
15+
from autoarray.dataset.plot.interferometer_plots import subplot_interferometer_dirty_images
16+
17+
# ---------------------------------------------------------------------------
18+
# Galaxy / profile subplots (autogalaxy)
19+
# ---------------------------------------------------------------------------
20+
from autogalaxy.plot import (
21+
subplot_galaxy_light_profiles,
22+
subplot_galaxy_mass_profiles,
23+
subplot_basis_image,
24+
subplot_galaxies,
25+
subplot_galaxy_images,
26+
subplot_adapt_images,
27+
subplot_fit_imaging_of_galaxy,
28+
subplot_fit_dirty_images,
29+
subplot_fit_real_space,
30+
subplot_fit_quantity,
31+
subplot_fit_ellipse,
32+
subplot_ellipse_errors,
33+
)
34+
1135
# ---------------------------------------------------------------------------
1236
# subplot_* public API
1337
# ---------------------------------------------------------------------------

0 commit comments

Comments
 (0)