% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/middleware.R
\name{.plot_data_names}
\alias{.plot_data_names}
\title{Collect column names from plot- and layer-level data}
\usage{
.plot_data_names(plot)
}
\arguments{
\item{plot}{A ggplot object.}
}
\value{
A character vector of unique column names found across the plot-level
and layer-level data frames associated with the plot.
}
\description{
Internal helper that gathers column names from all data frames associated
with a ggplot object, including both plot-level data and any layer-specific
data.
}
\details{
ggplotplus uses this helper when evaluating whether scale titles appear to
still use raw column names, which may indicate that user-facing labels have
not yet been customized with \code{ggplot2::labs()}.
}
\keyword{internal}
