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
Error: No layer can be used for labels
Backtrace:
1. ggplot2:::`+.gg`(...)
2. ggplot2:::add_ggplot(e1, e2, e2name)
4. gghighlight:::ggplot_add.gg_highlighter(object, p, objectname)
In addition: Warning message:
Tried to calculate with group_by(), but the calculation failed.
Falling back to ungrouped filter operation...
The text was updated successfully, but these errors were encountered:
Oh, good catch, thanks. This is because use_direct_label now supports geom_point() and geom_line() only. I expect geom_path() can be supported, but geom_smooth() cannot.
This may be a duplicate of #139. What I'd like to be able to do is highlight paths generated by
geom_smooth()
.Here is code:
Which omits the label, unlike the similar code with
geom_line()
It's possible this is a user error, but I assume you would like users to be able to apply these labels to smooths and paths.
I should note that
geom_path()
has the same issue:If I ask for a direct label, I get an error:
The text was updated successfully, but these errors were encountered: