Skip to content

Request: support theme axis.ticks.length.x and axis.ticks.length.y #1319

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

Closed
daattali opened this issue Sep 2, 2015 · 1 comment
Closed

Comments

@daattali
Copy link
Contributor

daattali commented Sep 2, 2015

I'm wondering if there is a deliberate reason why axis.ticks.length exists but you can't customize it for the X and Y axes?

If I want to have long tickmarks on the Y axis but very short ones on the X, it feels like this should be possible.

ggplot(mtcars, aes(wt, mpg)) + geom_point() +
  theme(axis.ticks.length.x = unit(2, "cm"), axis.ticks.length.y = unit(2, "mm"))
@hadley
Copy link
Member

hadley commented Oct 12, 2015

I'd be willing to review a PR, but it's sufficiently low priority that I'm unlikely to ever implement myself.

@hadley hadley closed this as completed Oct 12, 2015
@lock lock bot locked as resolved and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants