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
It’s worth noting that the x labels cannot be fixed by adding a scale_x_discrete — this will result in the same error as when passing a categorical variabel to the function.
hadley
changed the title
breaking change - Computation failed in stat_function() for non-numeric values of x
Computation failed in stat_function() for non-numeric values of x
Jan 22, 2016
Drawing a line with stat_function for x as factor used to work in ggplot2_1.0.0 and ggplot2_1.0.1. Doesn't work in ggplot2_2.0.0:
This works in ggplot2_2.0.0, but the x labels need fixing:
The text was updated successfully, but these errors were encountered: