Closed
Description
In 2.1.0, axis.line.x
and axis.line.y
work, but axis.line
does not.
For example,
This works:
ggplot(mtcars, aes(wt, mpg)) +
geom_point() +
theme(axis.line.x=element_line(),
axis.line.y=element_line())
But this doesn't:
ggplot(mtcars, aes(wt, mpg)) +
geom_point() +
theme(axis.line=element_line())
(The example at http://docs.ggplot2.org/current/theme.html - i.e., m + theme(axis.line = element_line(size = 3, colour = "red", linetype = "dotted"))
- also fails)