-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rotated axis labels are not properly aligned #1878
Comments
Is this new in 2.2.0? |
I think it's new to 2.2.0, because
|
Thanks, makes sense. This one's for you @thomasp85 |
This is not a bug per se, but rather an inconvenience fostered by a wish for both theme inheritance and nice defaults...
|
Perfect, thanks. Is this explained somewhere in the documentation? |
That works for labels on the top. However, I'm facing this exact issue when I have labels on the bottom x-axis. Is there a solution to that? My R version is 3.4.3., RStudio 1.1.423 |
This old issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with reprex) and link to this issue. https://reprex.tidyverse.org/ |
In the following figure, the axis tick labels along the top x axis are not properly aligned. They all sit completely to the left of the axis tick rather than centered:
No setting of
vjust
that I can add changes this, as far as I can tell. E.g., the following code creates the exact same output:As does any other
vjust
setting, including completely crazy ones such as -10 or 10.The text was updated successfully, but these errors were encountered: