Skip to content

Commit 2d85ed3

Browse files
committed
Fix coord_polar example
1 parent 1197815 commit 2d85ed3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

R/coord-polar.r

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@
3535
#' value = c(80, 20)
3636
#' )
3737
#' ggplot(df, aes(x = "", y = value, fill = variable)) +
38-
#' geom_bar(width = 1) +
38+
#' geom_bar(width = 1, stat = "identity") +
3939
#' scale_fill_manual(values = c("red", "yellow")) +
40-
#' coord_polar("y", start=pi / 3) +
40+
#' coord_polar("y", start = pi / 3) +
4141
#' labs(title = "Pac man")
4242
#'
4343
#' # Windrose + doughnut plot

0 commit comments

Comments
 (0)