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
{{ message }}
Repository navigation
Should the RHS margin of themed plots adjust to accomodate x-axis tick labels? #492
This issue is much less of a problem now, following the introduction of rotated labels (x/yaxr#717) and the improved spacing for axes with few categorical levels (#732). E.g., the exact same plot above now clears the clipping threshold without a problem:
Of course, that's not say that this will never be an issue. But I think dynamic spacing adjustment for labels is the wrong way to go and will require a lot of code for something that users can easily avoid with rotated labels, flipped plots, multline axis labels (via x/yaxl), etc. I'll add some examples to the docs that demonstrate these ideas and then close this issue.
Activity
grantmcdermott commentedon Sep 15, 2026
This issue is much less of a problem now, following the introduction of rotated labels (
x/yaxr#717) and the improved spacing for axes with few categorical levels (#732). E.g., the exact same plot above now clears the clipping threshold without a problem:Of course, that's not say that this will never be an issue. But I think dynamic spacing adjustment for labels is the wrong way to go and will require a lot of code for something that users can easily avoid with rotated labels, flipped plots, multline axis labels (via
x/yaxl), etc. I'll add some examples to the docs that demonstrate these ideas and then close this issue.grantmcdermott commentedon Sep 20, 2026
Closed with #736