Skip to content

Commit 3837d44

Browse files
mattansbteunbrand
andauthored
Update R/geom-histogram.R
Co-authored-by: Teun van den Brand <[email protected]>
1 parent 87c0c10 commit 3837d44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/geom-histogram.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
#' price_bins <- quantile(diamonds$price, probs = seq(0, 1, length = 11))
7171
#'
7272
#' ggplot(diamonds, aes(price)) +
73-
#' geom_histogram(breaks = price_bins, color = "black") # wrong (height = count)
73+
#' geom_histogram(breaks = price_bins, color = "black") # misleading (height = count)
7474
#'
7575
#' ggplot(diamonds, aes(price, after_stat(count / width))) +
7676
#' geom_histogram(breaks = price_bins, color = "black") # area = count

0 commit comments

Comments
 (0)