This PR will close #11. I've added some updates to the functions @noellepablo had already written. I believe the only outstanding issue is to add color arguments. Right now, calling set_theme() will automatically set discrete scales to Okabe Ito and continuous scales to viridis. These should be the defaults, but we should add arguments (i.e., discrete and continuous) that allow users to specify which scales they want to be the default.
For now, options for discrete should be okabeito, atlas, and ggplot2, where ggplot2 would use the default ggplot2 palette.
Options for continuous should be ggplot2 (i.e., the default ggplot2 scale) and the four viridis options (A, B, C, and D; see here).
This PR will close #11. I've added some updates to the functions @noellepablo had already written. I believe the only outstanding issue is to add color arguments. Right now, calling
set_theme()
will automatically set discrete scales to Okabe Ito and continuous scales to viridis. These should be the defaults, but we should add arguments (i.e.,discrete
andcontinuous
) that allow users to specify which scales they want to be the default.For now, options for discrete should be
okabeito
,atlas
, andggplot2
, whereggplot2
would use the default ggplot2 palette.Options for continuous should be
ggplot2
(i.e., the default ggplot2 scale) and the four viridis options (A
,B
,C
, andD
; see here).