Skip to content

Commit 9651df8

Browse files
committed
Make geom smooth less chatty. Fixes #1247
1 parent 89099c2 commit 9651df8

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
ggplot2 1.0.1.9xxx
22
----------------------------------------------------------------
33

4+
* `geom_smooth()` is no longer so chatty. If you want to know what the deafult
5+
smoothing method is, look it up in the documentation! (#1247)
6+
47
* `geom_smooth()`/`stat_smooth()` no longer pass ... on to the
58
underlying model. Instead, put additional arguments in `method.args` (#1245).
69

R/stat-smooth.r

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,6 @@ StatSmooth <- ggproto("StatSmooth", Stat,
6161
# gam with a cubic regression basis for large data
6262
# This is based on the size of the _largest_ group.
6363
if (identical(params$method, "auto")) {
64-
message(
65-
'`geom_smooth()`: For groups with <1000 observations, using ',
66-
'`method = "loess"` with `span = 0.75`,\n otherwise ',
67-
'`method = "gam"` with `formula = y ~ s(x, bs = "cs")`.'
68-
)
69-
7064
max_group <- max(table(data$group))
7165

7266
if (max_group < 1000) {

0 commit comments

Comments
 (0)