CDCgov / Rt-without-renewal

https://cdcgov.github.io/Rt-without-renewal/
Apache License 2.0
14 stars 3 forks source link

Work out how to vary the ylims subplot by subplot in AOG #376

Open SamuelBrand1 opened 1 month ago

SamuelBrand1 commented 1 month ago
          > Nice looks good. I am a bit surprised you've needed to make subplots and compose vs using `AlgebraofGraphics` facet mechanics (which is what I would do if making this in `ggplot2` for example.

My problem here was that I/search engines couldn't work out how to vary the ylims figure by figure... I'm being a bit basic here I think. I agree because unlike the first pass fig 1 now the subplots are slightly different sized.

Originally posted by @SamuelBrand1 in https://github.com/CDCgov/Rt-without-renewal/issues/375#issuecomment-2233452358

SamuelBrand1 commented 1 month ago

Noting @seabbs suggestion to add ylims the dataframe (apparently this is ggplot style)

SamuelBrand1 commented 1 month ago

Update... using draw to create a figure grid and its easy to interact with the limits of each grid directly. Using draw! onto a mixed figure (which makes it easier to do other things like adding text areas) and its not so easy.

seabbs commented 1 month ago

Got you makes sense