I want to bring the white dot in front of the axis. How can I do this without removing the "axis on top" code?
\documentclass[border=2mm]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.11}
\begin{document}
\begin{tikzpicture}
\begin{axis}[grid=both,ymin=-5,ymax=5,xmax=5,xmin=-5,xticklabel=\empty,yticklabel=\empty,axis on top,
minor tick num=1,axis lines = middle,xlabel=$x$,ylabel=$y$,label style =
{at={(ticklabel cs:1.1)}}]
\draw[fill=white,thick] (0,3.4) circle (1.6pt);
\end{axis}
\end{tikzpicture}
\end{document}
axis
but using cs coordinates.axis on top
. Do you really need this option?