Skip to content

docs: Correct the critical-curve default in plotting helpers #747

Closed

Description

@Jammy2211

Overview

The packaged visualization config selects marching squares. Both plotting helpers currently describe zero contour as the default, which can lead users to misinterpret missing large curves.

Plan

  • Correct the default in both docstrings and explain the measured zero-contour limitations.
  • Verify both descriptions against the config and campaign and ensure the executable code stays identical.
  • Effective level: safe; merge mode: auto-merge on green after a merge slot. This notify worker ends at PR-open. The shift has merge-cap 0.

Implementation

In PyAutoGalaxy, update only the docstrings of _caustics_from and _critical_curves_from in autogalaxy/util/plot_utils.py. Mark marching squares as the default, document per-call recompilation and the ±3 arcsec seed window that can miss group and cluster curves, and link the campaign wiki.

Witness: compare the two docstrings to the packaged default, then compare the parsed module with main after stripping the two docstrings. Run targeted tests, smoke and independent review.

Branch: feature/plot-utils-critical-curves-docstrings

Activity

  1. Jammy2211 commented on Nov 23, 2026

    @Jammy2211
    CollaboratorAuthor

    Shipped in #748 at 1ba51f3. Human review approved both docstring corrections. The documented default now matches the configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions