% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/middleware.R
\name{.has_plot_guide_none_for_aes}
\alias{.has_plot_guide_none_for_aes}
\title{Check whether plot-level guides suppress an aesthetic}
\usage{
.has_plot_guide_none_for_aes(plot, aes_name)
}
\arguments{
\item{plot}{A ggplot object.}

\item{aes_name}{A single character string giving the aesthetic name to check.}
}
\value{
A logical scalar. Returns \code{TRUE} if the plot-level guide for the
aesthetic is \code{"none"} or a \code{GuideNone} object.
}
\description{
Internal helper that checks whether a plot-level guide specification suppresses
the guide for a given aesthetic, such as through
\code{guides(fill = "none")}.
}
\details{
This complements the scale-level guide checker above, because guide
suppression can be declared either on a scale or through \code{guides()}.
}
\keyword{internal}
