remove_padding {tidyplots} | R Documentation |
Remove plot area padding
Description
Remove plot area padding
Usage
remove_padding(plot, force_continuous = FALSE)
Arguments
plot |
A |
force_continuous |
Whether to force the axis to be continuous. Defaults to |
Value
A tidyplot
object.
Examples
# Before removing
animals |>
tidyplot(x = weight, y = speed, color = family) |>
add_data_points()
# After removing
animals |>
tidyplot(x = weight, y = speed, color = family) |>
add_data_points() |>
remove_padding()
[Package tidyplots version 0.2.2 Index]