R/view-static.R

Defines functions view_static

Documented in view_static

#' Keep a fixed view that include all of the data
#'
#' This view keeps positional scales fixed across all frames
#'
#' @family views
#'
#' @export
#' @importFrom ggplot2 ggproto
view_static <- function() {
  ggproto("ViewStatic", View)
}
thomasp85/gganimate documentation built on Feb. 29, 2024, 11:16 p.m.