The paper here https://www.imsc.res.in/~rao/ramanujan/collectedpapers/Integral/Integral1.htm says that, $\int_{0}^{x}\frac{\arctan(t)}{t}dt-\int_{0}^{\frac{1}{x}}\frac{\arctan(t)}{t}dt=\frac{1}{2}\pi\ln(x)$
I tried verifying this result graphically using Desmos. But the graph seems oddly off. It looks like the answer must be $\pi\ln(x)$ and not $\frac{1}{2}\pi\ln(x)$.

Any help ? Thanks :)