nanxstats / ggsci

🦄 Scientific journal and sci-fi themed color palettes for ggplot2
https://nanx.me/ggsci/
GNU General Public License v3.0
661 stars 71 forks source link

Remove `scale_name` from `discrete_scale()` calls #26

Closed nanxstats closed 6 months ago

nanxstats commented 6 months ago

Fixes #25 by removing scale_name from discrete_scale() calls due to its deprecation in ggplot2 3.5.0.

Also improves code style by: