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

Comments

Projects
None yet
1 participant
@baptiste
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 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.