The following produces an empty plot: ``` r df <- data.frame( m = c(1, 0, -1), b = c(2, -3, 0.1) ) p <- ggplot(df) + xlim(c(-5, 5)) + ylim(c(-5, 5)) + geom_abline(aes(intercept = m, slope = b)) ggplotly(p) ``` I'll add a fix for this (as well as other problems introduced by changes to ggplot2's internals in #264)
Activity
Fix #268 (implementation of abline). Add an additional test.
cpsievert commentedon Aug 17, 2015
Same goes for hline and vline:
[-]geom_abline() can't handle aesthetic mappings[/-][+]geom_*line() can't handle aesthetic mappings[/+]attempt at fixing #268