Skip to content

Fix centered-legend regression with pixel snapping#567

Merged
cvanelteren merged 2 commits intomainfrom
fix/pixelsnap-guide-panel-regression
Feb 7, 2026
Merged

Fix centered-legend regression with pixel snapping#567
cvanelteren merged 2 commits intomainfrom
fix/pixelsnap-guide-panel-regression

Conversation

@cvanelteren
Copy link
Collaborator

This PR fixes the image-regression in test_centered_legends by limiting subplots.pixelsnap snapping to main subplot axes only. Centered legends and other guides are drawn in panel/guide axes with fractional positioning; snapping those panel bounds can over-constrain legend placement and produce renderer-dependent shifts. The patch keeps pixel snapping for core subplot bounds while preserving stable centered-legend layout.

@cvanelteren cvanelteren merged commit 076175c into main Feb 7, 2026
16 of 24 checks passed
@cvanelteren cvanelteren deleted the fix/pixelsnap-guide-panel-regression branch February 7, 2026 03:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant