It seems that fractions are placed too low within the legend in pgfplot. In my opinion, the fraction is placed a bit too low, therefore, the distance to the upper legend entry is too wide and to the lower, it is too narrow.
E.g. in this MWE:
\documentclass{standalone}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}[domain=1:2]
\addplot {x^2 };\addlegendentry{$x^2$};
\addplot {1/x};\addlegendentry{$\frac{1}{x}$};
\addplot {x};\addlegendentry{$x$};
\end{axis}
\end{tikzpicture}
\end{document}
Is this a bug? And is it possible to adjust the spacings?

