Repository navigation
docs: list every aplt export in plot.rst - #863
Merged
Merged
Conversation
Adds the plot functions that the plot namespace exports but the API reference omitted, including a new Dataset Subplots section for the dataset-level subplot and .fits helpers. Refs #862. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
docs/api/plot.rstnow lists every function thatautolens.plot(aplt) exports. 44 exports were missing, including the six named in the task, and there was no "Dataset Subplots" heading for the dataset-level functions.Closes #862. Companion PR: PyAutoLabs/PyAutoGalaxy#716 (the same change for
autogalaxy.plot, plus the docstring fixes that keep this repo's sphinx count at baseline).API Changes
None. This PR changes documentation only (
docs/api/plot.rst).subplot_imaging_dataset,subplot_imaging_dataset_intro,subplot_imaging_dataset_list,fits_imaging,subplot_interferometer_dirty_images,fits_interferometer.fits_arrayunder Basic plotssubplot_fit_imaging_mappingsunder Imaging Fitsubplot_fit_interferometer_tracerunder Interferometerplot_image_with_pointsunder Point Sourceoutput_figureunder Search resultsTest Plan
autolens/plot/__init__.pyagainst the autosummary entries finds no difference. The only extra rst entry isOutput, which is documented on purpose underautoarray.plot. The independent reviewer confirmed this with their own script.PYTHONPATH: 96 → 96, the same warning set. The CI baseline file stays at 134. Note: without PyAutoGalaxy#716, this build gains 13|mu|substitution errors from the newly documented magnification docstrings (110 locally). That is still below the CI baseline of 134, but merge feat: test prior config + docs for the AdaptPower regularization siblings #716 first.Validation checklist (--auto run — plan was not pre-approved)
subplot_fit_interferometer_traceris a fit subplot (subplot_tracer_from_fit). It is placed under Interferometer subplots, next to the othersubplot_fit_interferometer_*functions. The other five, plussubplot_imaging_dataset_intro, are under Dataset Subplots.readiness --dev).decision-taken): I keptsubplot_fit_interferometer_tracerwith the fit subplots rather than misfiling it to satisfy the Witness wording. If you prefer it under Dataset Subplots, it is a one-line move.Follow-up, not done here: the prompt suggested having
/audit_docscheckplot.rstautosummary blocks against the liveapltnamespace. That would catch this drift automatically.Generated by the PyAutoLabs agent workflow.
🤖 Generated with Claude Code