Remove Y axis padding

acid_scale_y_continuous_nopad(
  ...,
  expand = ggplot2::expansion(mult = c(0L, 0.025))
)

Arguments

...

Other arguments passed on to scale_(x|y)_continuous()

expand

For position scales, a vector of range expansion constants used to add some padding around the data to ensure that they are placed some distance away from the axes. Use the convenience function expansion() to generate the values for the expand argument. The defaults are to expand the scale by 5% on each side for continuous variables, and by 0.6 units on each side for discrete variables.

Value

ggproto.

Note

Updated 2019-07-29.

Examples

acid_scale_y_continuous_nopad()
#> <ScaleContinuousPosition> #> Range: #> Limits: 0 -- 1