epiforecasts / EpiNow2

Estimate Realtime Case Counts and Time-varying Epidemiological Parameters
https://epiforecasts.io/EpiNow2/dev/
Other
114 stars 32 forks source link

Add colours to `dist_spec` plot #786

Closed sbfnk closed 1 month ago

sbfnk commented 1 month ago

I would suggest using color instead of line types to differentiate between pmf and cmf. Since there are only two levels, the color aesthetic plays nicely with the current default of "cumulative = TRUE" for uncertain distributions.

Originally posted by @jamesmbaazam in https://github.com/epiforecasts/EpiNow2/issues/784#issuecomment-2363409363

jamesmbaazam commented 1 month ago

Is there a preferred color scheme here? I see ggplot2::scale_color_brewer(palette = "Dark2") is used in the main plots.