Skip to content
Browse files

Fix coord_polar example

  • Loading branch information...
1 parent 1197815 commit 2d85ed384221c6d5c62705d8442625c92873f418 @wch wch committed Nov 1, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 R/coord-polar.r
View
4 R/coord-polar.r
@@ -35,9 +35,9 @@
#' value = c(80, 20)
#' )
#' ggplot(df, aes(x = "", y = value, fill = variable)) +
-#' geom_bar(width = 1) +
+#' geom_bar(width = 1, stat = "identity") +
#' scale_fill_manual(values = c("red", "yellow")) +
-#' coord_polar("y", start=pi / 3) +
+#' coord_polar("y", start = pi / 3) +
#' labs(title = "Pac man")
#'
#' # Windrose + doughnut plot

0 comments on commit 2d85ed3

Please sign in to comment.
Something went wrong with that request. Please try again.