From d9a770852bf90871fd03545b5a958476ba131954 Mon Sep 17 00:00:00 2001 From: Jammy2211 Date: Fri, 3 Apr 2026 10:20:38 +0100 Subject: [PATCH 1/2] Update docs to reference new flat plot functions Replace NestPlotter/MCMCPlotter/MLEPlotter class references with module-level function references in API docs. Co-Authored-By: Claude Opus 4.6 (1M context) --- docs/api/plot.rst | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/docs/api/plot.rst b/docs/api/plot.rst index 10392905..5e9d6b3c 100644 --- a/docs/api/plot.rst +++ b/docs/api/plot.rst @@ -71,22 +71,20 @@ Create figures and subplots showing quantities of standard **PyAutoGalaxy** obje subplot_fit_ellipse subplot_ellipse_errors -Non-linear Search Plotters [aplt] ---------------------------------- +Non-linear Search Plot Functions [aplt] +--------------------------------------- -Create figures and subplots of non-linear search specific visualization of every search algorithm supported -by **PyAutoGalaxy**. +Module-level functions for visualizing non-linear search results. -.. currentmodule:: autogalaxy.plot +.. currentmodule:: autofit.plot .. autosummary:: :toctree: _autosummary - :template: custom-class-template.rst - :recursive: - NestPlotter - MCMCPlotter - MLEPlotter + corner_cornerpy + corner_anesthetic + subplot_parameters + log_likelihood_vs_iteration Plot Customization [aplt] ------------------------- From af371de2f70f3fb3e98ad52232cc6114659e7850 Mon Sep 17 00:00:00 2001 From: Jammy2211 Date: Fri, 3 Apr 2026 13:35:31 +0100 Subject: [PATCH 2/2] Re-export new flat plot functions from autogalaxy.plot So that autogalaxy_workspace scripts using `import autogalaxy.plot as aplt` can call aplt.corner_anesthetic() etc. Co-Authored-By: Claude Opus 4.6 (1M context) --- autogalaxy/plot/__init__.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/autogalaxy/plot/__init__.py b/autogalaxy/plot/__init__.py index 37f3b28f..aa1b3529 100644 --- a/autogalaxy/plot/__init__.py +++ b/autogalaxy/plot/__init__.py @@ -1,3 +1,11 @@ +from autofit.non_linear.plot import ( + corner_cornerpy, + corner_anesthetic, + subplot_parameters, + log_likelihood_vs_iteration, + output_figure, +) + from autogalaxy.plot.plot_utils import plot_array, plot_grid, fits_array from autoarray.dataset.plot.imaging_plots import (