Skip to content

Commit ab856fd

Browse files
Jammy2211claude
authored andcommitted
Replace plotter class imports with flat function imports
Remove NestPlotter/MCMCPlotter/MLEPlotter imports from plot __init__, replace with corner_cornerpy, corner_anesthetic, subplot_parameters, log_likelihood_vs_iteration function imports. Update API docs. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 539c3e0 commit ab856fd

File tree

2 files changed

+15
-13
lines changed

2 files changed

+15
-13
lines changed

autolens/plot/__init__.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1-
from autofit.non_linear.plot.nest_plotters import NestPlotter
2-
from autofit.non_linear.plot.mcmc_plotters import MCMCPlotter
3-
from autofit.non_linear.plot.mle_plotters import MLEPlotter
1+
from autofit.non_linear.plot import (
2+
corner_cornerpy,
3+
corner_anesthetic,
4+
subplot_parameters,
5+
log_likelihood_vs_iteration,
6+
output_figure,
7+
)
48

59
# ---------------------------------------------------------------------------
610
# Standalone plot helpers (autoarray)

docs/api/plot.rst

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -83,22 +83,20 @@ Create figures and subplots showing quantities of standard **PyAutoLens** object
8383
subplot_sensitivity
8484
subplot_sensitivity_figures_of_merit
8585

86-
Non-linear Search Plotters [aplt]
87-
---------------------------------
86+
Non-linear Search Plot Functions [aplt]
87+
---------------------------------------
8888

89-
Create figures and subplots of non-linear search specific visualization of every search algorithm supported
90-
by **PyAutoGalaxy**.
89+
Module-level functions for visualizing non-linear search results.
9190

92-
.. currentmodule:: autogalaxy.plot
91+
.. currentmodule:: autofit.plot
9392

9493
.. autosummary::
9594
:toctree: _autosummary
96-
:template: custom-class-template.rst
97-
:recursive:
9895

99-
NestPlotter
100-
MCMCPlotter
101-
MLEPlotter
96+
corner_cornerpy
97+
corner_anesthetic
98+
subplot_parameters
99+
log_likelihood_vs_iteration
102100

103101
Plot Customization [aplt]
104102
-------------------------

0 commit comments

Comments
 (0)