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 would be nice to have geom_step not throw in non renderable situations. It would be an improvement if the following code:
library('ggplot2')
d <- data.frame(x=1,y=1)
ggplot(data=d,aes(x=x,y=y)) + geom_step()
issued a warning and draws a graph like geom_line does in:
ggplot(data=d,aes(x=x,y=y)) + geom_line()
instead of erroring-out with the message "invalid line type" (as Cran current ggplot2 2.1.0 does). One can easily run into this when using geom_step with facet_wrap.
It would be nice to have geom_step not throw in non renderable situations. It would be an improvement if the following code:
issued a warning and draws a graph like geom_line does in:
instead of erroring-out with the message "invalid line type" (as Cran current ggplot2 2.1.0 does). One can easily run into this when using geom_step with facet_wrap.
I have an article explaining the actual use case here https://github.com/WinVector/Examples/blob/master/UsingGeomStep/UsingGeomStep.md and the small example here https://github.com/WinVector/Examples/blob/master/UsingGeomStep/StepThrow.md .
The text was updated successfully, but these errors were encountered: