When using pgfplots, is there a way to set the style for every node on a plot for a particular axis? I'm currently setting the style for each plot, but I've been unable to do the same for each node along a plot. Below is a MWE where the node should be black,but it is the same color as the plot.
\documentclass{article}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
every axis plot/.append style={line width=0.95pt, color=blue, samples=255},
every axis plot node/.style={color=black},
]
\addplot[<->] expression[domain=0:4]{x^2} node[pos=0.5, below] {$x^2$};
\end{axis}
\end{tikzpicture}
\end{document}
