acid_scale_y_continuous_nopad: Remove Y axis padding

acid_scale_y_continuous_nopadR Documentation

Remove Y axis padding

Description

Remove Y axis padding

Usage

acid_scale_y_continuous_nopad()

Value

ggproto.

Note

Updated 2023-08-11.

Examples

library(ggplot2)
g <- ggplot(data = mpg, aes(x = class)) +
    geom_bar()
## By default, plots contain padding at the top of the graph.
print(g)
## This function will automatically remove the padding.
g + acid_scale_y_continuous_nopad()

acidgenomics/minimalism documentation built on April 1, 2024, 10:34 a.m.