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

A separate method to allow calls to bypass the function collection etc things #446

Open
jordansread opened this issue Mar 15, 2017 · 0 comments

Comments

@jordansread
Copy link
Member

I often run into a situation where I want to

gs <- gsplot() %>%
   lines(x=c(1,2), y=c(4,2),
       callouts=list(labels=c(NA, "data"), col="blue")) %>% 
    rect(xleft=1, xright=17, ybottom=1, ytop=27, 
         density=10, angle=130, col='darkblue')
gs

and have the rect impact the limits and other things, and times when I want it to not:

gs <- gsplot() %>%
   lines(x=c(1,2), y=c(4,2), 
       callouts=list(labels=c(NA, "data"), col="blue")) %>% 
    rect_(xleft=1, xright=17, ybottom=1, ytop=27, 
         density=10, angle=130, col='darkblue')
gs

a couple things here:

  1. we might need to be able to specify when a call should be ignored in the function call
  2. it is faster to skip the function collection things and the calculation of limits for a call that you want ignored anyways.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants