I have the following code, which outputs the red function. I would like to add arrowheads to the ends of the red lines, to indicate that there should be no endpoint. I can't figure out how! Any advice? Also, is there a way to make the red line on the axis as thick as the other one? Any help appreciated, I'm a newbie.
\begin{tikzpicture}
\begin{axis}[axis lines=middle,
ticklabel style={fill=blue!5!white},
xmin=-1,xmax=1,
ymin=0,ymax=1.5,
xtick={0}, %<--
ytick={0,1}, %<-- %<--
samples=200]
\addplot[soldot] coordinates{(0,1)};
\addplot[red] [domain=-1:0, very thick]{0};
\addplot[holdot] coordinates{(0,0)};
\addplot[red] [domain=0:1, very thick]{1};
\end{axis}
\end{tikzpicture}

