Skip to content
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

annotation_custom failure with non-unique grob names #1256

Closed
baptiste opened this issue Aug 8, 2015 · 0 comments
Closed

annotation_custom failure with non-unique grob names #1256

baptiste opened this issue Aug 8, 2015 · 0 comments

Comments

@baptiste
Copy link
Contributor

baptiste commented Aug 8, 2015

An old issue reporting this was closed, but the behaviour is still problematic.

p <- qplot(1:10,1:10, geom="blank") + scale_x_continuous(breaks=1:10)

g <- rectGrob(gp=gpar(fill="grey"))
p + annotation_custom(g, xmin=1, xmax=2) + 
    annotation_custom(g, xmin=3, xmax=4) + # won't show up
    annotation_custom(editGrob(g, name="new"), xmin=5, xmax=6) 

I suspect it's a gtable bug, but not sure where exactly

@hadley hadley closed this as completed in cc25a9c Aug 26, 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

1 participant