Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cover interactions in coord_flip() #5726

Merged
merged 1 commit into from
Mar 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions R/coord-flip.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,19 @@
#' the `orientation` setting, and converting the display of y conditional on x,
#' to x conditional on y.
#'
#' @details
#' Coordinate systems interact with many parts of the plotting system. You can
#' expect the following for `coord_flip()`:
#'
#' * It does *not* change the facet order in `facet_grid()` or `facet_wrap()`.
#' * The `scale_x_*()` functions apply to the vertical direction,
#' whereas `scale_y_*()` functions apply to the horizontal direction. The
#' same holds for the `xlim` and `ylim` arguments of `coord_flip()` and the
#' `xlim()` and `ylim()` functions.
#' * The x-axis theme settings, such as `axis.line.x` apply to the horizontal
#' direction. The y-axis theme settings, such as `axis.text.y` apply to the
#' vertical direction.
#'
#' @export
#' @inheritParams coord_cartesian
#' @examples
Expand Down
14 changes: 14 additions & 0 deletions man/coord_flip.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading