Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace `size` with `linewidth` for `geom_smooth()` example. Using `size` for lines was deprecated per this error message: > > ggplot(data=gapminder, > + mapping=aes(x=gdpPercap, > + y=lifeExp)) + > + geom_point(alpha=0.5) + > + scale_x_log10() + > + geom_smooth(method='lm', size=1.5) > `geom_smooth()` using formula = 'y ~ x' > Warning message: > Using `size` aesthetic for lines was deprecated in ggplot2 3.4.0. > ℹ Please use `linewidth` instead. > This warning is displayed once every 8 hours. > Call `lifecycle::last_lifecycle_warnings()` to see where this warning was generated. Change throughout the lesson and additionally: 1. Adjust language in explanations to match 2. Add hint to challenge clarifying size is point equivalent of linewidth. 3. Add some additional explanation of difference between aesthetics with vs without mappings.
- Loading branch information