You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for this very nice package! However, I discovered that the function guide_axis_color throws an error, when check.overlap = TRUE is specified. I provide a minimal example (for which check.overlap = TRUE is not really necessary) to illustrate the error:
p <- ggplot(mtcars, aes(wt, mpg)) +
geom_point() +
theme(axis.line = element_line(colour = "black"))
p + guides(x = guide_axis_colour(colour = "red", check.overlap = TRUE),
y = guide_axis_colour(colour = "blue"))
This code yields to the error message Error in FUN(X[[i]], ...) : object 'n' not found. Do you maybe know how to fix it?
Thank you very much in advance!
Best,
David
The text was updated successfully, but these errors were encountered:
Hi there, thanks for the report! This appears to be a bug. I don't know of a workaround at the moment, other than not using the check.overlap option or replacing the colours in the theme yourself.
Dear Teun van den Brand,
Thank you for this very nice package! However, I discovered that the function
guide_axis_color
throws an error, whencheck.overlap = TRUE
is specified. I provide a minimal example (for whichcheck.overlap = TRUE
is not really necessary) to illustrate the error:This code yields to the error message
Error in FUN(X[[i]], ...) : object 'n' not found
. Do you maybe know how to fix it?Thank you very much in advance!
Best,
David
The text was updated successfully, but these errors were encountered: