teunbrand / ggh4x

ggplot extension: options for tailored facets, multiple colourscales and miscellaneous
https://teunbrand.github.io/ggh4x/
Other
534 stars 32 forks source link

Missing data prevents setting up secondary y-axis scale in help_sec_range and help_sec_max #146

Closed jrmuirhead closed 3 months ago

jrmuirhead commented 4 months ago

In the functions, help_sec_range and help_sec_max, the calculations to scale the range for to = range(x) and from=range(x) do not account for missing data and will throw an error.

teunbrand commented 3 months ago

Considered fixed by #147