fix: imshow_origin "lower" mirrors the raster but not the vector overlays` #14
|
| OS | Fedora Linux 44, kernel 7.1.10-200.fc44.x86_64 (glibc 2.43) |
| Python | 3.13.14 |
| autoarray | 2026.8.29.1 |
| autolens / autogalaxy / autofit / autonerves | 2026.8.29.1 |
| matplotlib | 3.11.1 |
| numpy | 2.5.2 |
AI assistance
This report was drafted with AI assistance, per the PyAutoLabs
AI policy.
How the claims were checked, rather than merely generated:
- The minimal example above was executed on the environment listed, and both
output PNGs were inspected. The"upper"marker lands on the block; the
"lower"marker is 2.5" away. It is not a hypothesised reproduction. - The
row 0 == ymaxconvention was confirmed by evaluating a light profile at a
known centre and locating its peak by array index (centre=(y=+1.0, x=0.0)on
a 100x100, 0.05"/pix grid peaks at row 30), not inferred from documentation. - The absence of a flip in
ndarray_via_hdu_fromwas confirmed by reading the
installed source. - Line numbers were read from the installed 2026.8.29.1 package by grep, not
estimated. The surrounding code is quoted so they remain locatable if they
have since moved. (originalso reachesimshowat lines 184 and 212, the
RGB andarray_overlaybranches.) - The proposed regression test below was run: it passes under
"upper"and
fails under"lower"on this version.
Replies: 1 comment
|
@ClarkGuilty thank you for this, and apologies for the silence since September: your original issue was moved here when we switched community reports to the Discussions hub, and you should have had a note saying so at the time. Your diagnosis was exactly right, and it is now fixed on PyAutoArray Your regression test went in almost verbatim (parametrised over both origins, with a lines variant and an inversion variant alongside it). It failed on unfixed Two things to know:
If you still have the Euclid candidate fit subplot that first showed the critical curve sliding off the arc, re-rendering it from |


@ClarkGuilty thank you for this, and apologies for the silence since September: your original issue was moved here when we switched community reports to the Discussions hub, and you should have had a note saying so at the time.
Your diagnosis was exactly right, and it is now fixed on PyAutoArray
mainvia PyAutoLabs/PyAutoArray#616 (tracker: PyAutoLabs/PyAutoArray#565). We went with your option 1: underimshow_origin: lowereveryplot_arrayoverlay (mask edge, border, origin marker, grid, mesh grid, positions, lines, regions and quiver vectors, withdynegated) is now reflected about the extent's y midpoint, following the pattern_apply_contoursalready used. The same audit turned up the i…