Skip to content

Guard inset colorbar frame bounds#554

Merged
cvanelteren merged 2 commits intomainfrom
fix/inset-colorbar-frame
Feb 6, 2026
Merged

Guard inset colorbar frame bounds#554
cvanelteren merged 2 commits intomainfrom
fix/inset-colorbar-frame

Conversation

@cvanelteren
Copy link
Collaborator

@cvanelteren cvanelteren commented Feb 6, 2026

This PR prevents inset colorbar layout from calling set_bounds on a non-patch frame when frameon=False. The guard avoids an AttributeError during auto-layout while preserving existing frame behavior when a patch is present.

@cvanelteren cvanelteren merged commit aba7be3 into main Feb 6, 2026
1 of 3 checks passed
@cvanelteren cvanelteren deleted the fix/inset-colorbar-frame branch February 6, 2026 00:47
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