Skip to content

annotation_logticks() and coord_flip() don't seem to get along #881

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
adsteen opened this issue Dec 9, 2013 · 2 comments
Closed

annotation_logticks() and coord_flip() don't seem to get along #881

adsteen opened this issue Dec 9, 2013 · 2 comments

Comments

@adsteen
Copy link

adsteen commented Dec 9, 2013

annotation_logticks() and coord_flip() appear to be mutually incompatible. For instance:

ggplot(mtcars, aes(x=mpg, y=disp)) + 
  geom_line() + 
  annotation_logticks() +
  coord_flip()

yields Error in unit(yticks$y, "native") : 'x' and 'units' must have length > 0. This plot works fine if either annotation_logticks() or coord_flip() is removed.

@hadley
Copy link
Member

hadley commented Feb 24, 2014

This sounds like a great feature/horrible bug, but unfortunately we don't currently have the development bandwidth to support it/fix it. If you'd like to submit a pull request that implements this feature/fixes this bug, please follow the instructions in the development vignette.

@hadley hadley closed this as completed Feb 24, 2014
@jcrada
Copy link

jcrada commented Jul 22, 2016

This bug is still present in R 3.3.1 with ggplot2_2.1.0. Shouldn't this issue be opened?

@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

3 participants