I want to use the \frac
command in an annotation to a line
\documentclass{standalone}
\usepackage{pgfplots}
\usepackage{amsmath}
\begin{document}
\begin{tikzpicture}
\begin{axis}
\addplot[dashed]coordinates {(0,0) (1,1)} node[pos=0.5,sloped,yshift=7pt]{$\frac{1}{wuv}$};
\end{axis}
\end{tikzpicture}
\end{document}
However, the line of the fraction has the same style as the line. How can I get a fraction with a normal line?