Skip to content

Fix UltraLayout spans for GridSpec slices#532

Merged
cvanelteren merged 4 commits intomainfrom
fix/ultralayout-spans
Feb 1, 2026
Merged

Fix UltraLayout spans for GridSpec slices#532
cvanelteren merged 4 commits intomainfrom
fix/ultralayout-spans

Conversation

@cvanelteren
Copy link
Collaborator

@cvanelteren cvanelteren commented Feb 1, 2026

UltraLayout wasn’t honoring GridSpec spans created via slicing (e.g., gs[0, :2]), so the solver treated those subplots as single cells and mis‑allocated space. This update merges spanned cells in the internal layout_array when slices are created and clears cached UltraLayout positions so the solver sees the correct geometry. The result restores expected sizing for span‑based layouts without changing the public API.

Closes #531

@cvanelteren
Copy link
Collaborator Author

cvanelteren commented Feb 1, 2026

image

looks great!

@cvanelteren cvanelteren merged commit ba9400c into main Feb 1, 2026
16 of 24 checks passed
@cvanelteren cvanelteren deleted the fix/ultralayout-spans branch February 1, 2026 07:05
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.

UltraLayout not providing proper spacing for geo plots

1 participant

Comments