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
The text was updated successfully, but these errors were encountered:
thudjx
changed the title
colgap and rowgap behaves weirdly after creating an inset axiscolgap and rowgap behave weirdly after creating an inset axis
May 23, 2023
This just looks like rowgap doesn't work, but the actual effect is that you reduce the width/height of the additional axis, but its lower protrusions still causes that space to be reserved. This is because it requests the maximum amount of space needed, not the one currently needed (as it depends on the overall space available and thus changes when the layout is recomputed). You can probably set inset.alignmode = Outside(0) so it doesn't have protrusions. In the future, there will probably be more convenient functions added to create inset axes that avoid this.
The MWE goes like:
The
rowgap!
is not working correctly:However, if we change the line creating the
inset_box
into:everythings go back to normal:
The same issue comes with
colgap
and the MWE is here:The
inset_box
created this way works correctly but this does not:The text was updated successfully, but these errors were encountered: