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
From ?discrete_scale:
"labels: NULL for no labels."
But:
df <- data.frame(x = 1, y = 1)
p <- ggplot(df, aes(x = x, y = y, color = factor(x))) +
geom_point()
p
p + scale_color_discrete(labels = NULL)
# Error in data.frame(values = scale_map(scale, breaks), labels = I(scale_labels(scale)), :
# arguments imply differing number of rows: 1, 0
From
?discrete_scale
:"
labels
:NULL
for no labels."But:
See also this post on SO
The text was updated successfully, but these errors were encountered: