Skip to content

Commit 1f09a31

Browse files
committed
update NEWS
1 parent 40ccf17 commit 1f09a31

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

NEWS.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,10 @@ up correct aspect ratio, and draws a graticule.
177177
use matrix-columns. These are rarely used but are produced by `scale()`;
178178
to continue use `scale()` you'll need to wrap it with `as.numeric()`,
179179
e.g. `as.numeric(scale(x))`.
180+
181+
* The function `guide_train()` now has an optional parameter `aesthetic`
182+
that allows to override the `aesthetic` setting in the scale. This change
183+
will only affect code that implements custom guides. (@clauswilke)
180184

181185
## Minor bug fixes and improvements
182186

@@ -211,6 +215,10 @@ up correct aspect ratio, and draws a graticule.
211215

212216
* Legends no longer try and use set aesthetics that are not length one (#1932).
213217

218+
* All scales that are not position scales now have an `aesthetics` argument
219+
that can be used to set the aesthetics the scale works with, regardles of
220+
the name of the scale function. (@clauswilke)
221+
214222
### Layers
215223

216224
* `geom_label` no longer produces an undesired border around labels when

0 commit comments

Comments
 (0)