I have copied the code from this previous post about plotting elliptic curve, but unfortunately when the curve has two "parts", I can't figure out how to remove the connection between the two. Here is a MWE
\documentclass[12pt]{report}
\usepackage{pgfplots}
\pgfplotsset{
compat=1.12,
}
\begin{document}
\begin{center}
\begin{tikzpicture}[scale=1]
\begin{axis}[
xmin=-5,
xmax=5,
ymin=-5,
ymax=5,
xlabel={$x$},
ylabel={$y$},
scale only axis,
axis lines=middle,
domain=-1.912931:3,
samples=200,
smooth,
clip=false,
axis equal image=true,
]
\addplot [black] {sqrt(x^3-2*x+1)};
\addplot [black] {-sqrt(x^3-2*x+1)};
\end{axis}
\end{tikzpicture}
\end{center}
\end{document}
which yields
How do I remove the lines connecting the two segments?

