-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
bugan unexpected problem or unintended behavioran unexpected problem or unintended behavior
Milestone
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)
Metadata
Metadata
Assignees
Labels
bugan unexpected problem or unintended behavioran unexpected problem or unintended behavior