% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/classes.R
\name{GgnextPlot}
\alias{GgnextPlot}
\title{GgnextPlot: the complete plot specification}
\usage{
GgnextPlot(
  data = NULL,
  mapping = NULL,
  layers = list(),
  scales = list(),
  coord = Coord(),
  interaction = NULL,
  theme = NULL,
  labels = NULL,
  color_scale = NULL,
  facet = NULL,
  animation = NULL,
  size = NULL
)
}
\arguments{
\item{data}{Default data frame for all layers.}

\item{mapping}{Default aesthetic mapping from \code{\link[=aes]{aes()}}.}

\item{layers}{List of \link{Layer} objects.}

\item{scales}{Named list of \link{Scale} objects, keyed by aesthetic.}

\item{coord}{A \link{Coord} subclass instance.}

\item{interaction}{An \link{Interact} spec, or \code{NULL} for a static plot.}

\item{theme}{A \code{Theme} object controlling the plot chrome.}

\item{labels}{A \code{Labels} object with the title block and axis titles.}

\item{color_scale}{A \link{ColorScale} palette override, or \code{NULL}.}

\item{facet}{A \link{Facet} spec, or \code{NULL} for a single panel.}

\item{animation}{An \link{Animation} spec, or \code{NULL}.}

\item{size}{Device size in pixels, \code{c(width, height)}.}
}
\value{
An S7 object of class \code{GgnextPlot}, as returned by \code{\link[=ggnext]{ggnext()}}.
}
\description{
Built by \code{\link[=ggnext]{ggnext()}} and grown with \code{+}. Holds everything needed to
compute geometry; rendering never reaches back past the computed buffer.
}
