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/AcidPlots documentation built on March 29, 2024, 9:27 a.m.