Graphing calculators are usually unable to deal with discontinuities, they just keep on plotting and connecting points, so you have to know this "feature" and guess there is something going wrong, or you can see it directly by inspecting the function, since
$$\arctan x \underset{x\to+\infty}{\longrightarrow}+\frac{\pi}2$$
$$\arctan x \underset{x\to-\infty}{\longrightarrow}-\frac{\pi}2$$
Some more explanation: to plot a curve, a calculator (and most plotting software, except maybe clever CAS) pick some points in the $x$-range (typically $\sim 100$), compute the $y$ values, and plot the points, connecting them by lines so the rendering is more pretty. It works like a charm with continuous functions, but it fails miserably when there are discontinuities, as there is then an almost vertical line connecting two consecutive points.
For example, it's easy to change from lines to only points in a spreadsheet like Excel or LibreOffice, and see the difference.
Sometimes, plotting software is able to recognize that a big jump is probably a discontinuity, and they don't connect these two consecutive points. But calculators have limited capabilities, and are not likely to have this.
Here is the output from Maxima, with plot2d(atan(1/x),[x,-1,1]);

That even WolframAlpha is not able to see this is rather funny, but it's not the first time WA shows inconsistent behaviour. The key point is: never, ever trust a mathematical answer from software, even CAS with good reputation. They all have bugs, some less than others, but all have some, and you will only know by experience what kind of output you can trust, from a program.
For example, I took Maxima for this plot, but I know it has disastrous problems for managing expressions with square roots, especially integrals.