The newest ggplot2 version (2.0.0) changed the line size of stat smooth from 0.5 to 1. How could I update the default line size of stat_smooth
into 0.5?
I tied this
update_stat_defaults("smooth", list(size = 0.5))
But it does not work.
Thanks a lot for your help.
As stated by rawr in comments (and not posted as an answer for a month now), the default line size of stat_smooth
can be changed with:
update_geom_defaults("smooth", list(size = .5))
Other default sizes can be changed similarly.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With