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)
}

Try the gganimate package in your browser

Any scripts or data that you put into this service are public.

gganimate documentation built on May 29, 2024, 2:58 a.m.