Commit 00a0499
refactor: delegate norm_from to the shared autoarray helper (PyAutoArray#488)
`norm_from` was added by #586 as a faithful copy of the colour-norm block in
autoarray's plot_array. PyAutoArray#488 makes that block one shared helper
(autoarray.plot.utils.norm_from), so this becomes a thin delegate rather than
a third copy: autogalaxy may import autoarray, and the name stays autogalaxy's
so the Clicker/Scribbler callers added in #586 keep working unchanged.
Behaviour is unchanged here — the autoarray helper's log10-floor path is the
one this function already implemented. test_autogalaxy/gui/test_plot_norm.py,
which pins that behaviour, is green untouched (9 passed); full suite 1119
passed, 1 skipped against the PyAutoArray#488 branch.
Library-first: PyAutoArray#488 merges before this.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DamasCoRrENvgiRkU5WHHW1 parent d68a8f6 commit 00a0499
1 file changed
Lines changed: 9 additions & 32 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
137 | | - | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
138 | 142 | | |
139 | 143 | | |
140 | 144 | | |
141 | 145 | | |
142 | | - | |
| 146 | + | |
143 | 147 | | |
144 | 148 | | |
145 | 149 | | |
| |||
152 | 156 | | |
153 | 157 | | |
154 | 158 | | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
| 159 | + | |
183 | 160 | | |
184 | | - | |
| 161 | + | |
185 | 162 | | |
186 | 163 | | |
187 | 164 | | |
| |||
0 commit comments