You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the complex nested grid syntax for uplt.subplots(), two layout coupling issues are observed:
Attaching colorbar='r' to a subset of axes alters the horizontal spacing within different rows of the entire grid. The horizontal gap between panels within each row shifts visibly.
The wspace parameter modifies the native width/aspect ratio of the plotting axes, instead of only inserting blank space between panels. Setting refaspect does not fix this behaviour.
Could you please help investigate this layout coupling issue.
Minimal reproducible example:
state = np.random.RandomState(51423)
x = y = np.array([-10, -5, 0, 5, 10])
data = state.rand(y.size, x.size)
Activity
cvanelteren commentedon Nov 4, 2026
I think this may be related to how the solver deals with colorbars. I will need to do some digging.
cvanelteren commentedon Nov 4, 2026
Thanks! Should be fixed on main now.
xiaochen30 commentedon Nov 5, 2026
Thanks a lot for looking into this and fixing it! Really appreciate your work.