Hello,
I tried plotting the frac function on sagecell and it behaves as expected where frac(x) = x-floor(x). I.E. frac is positive even when its argument is negative.
However on my local installation, plotting frac (plot(frac,-2,2)) outputs the same thing as plot(sign(x)*frac(abs(x)),-2,2).
I'm on debian 12 and sage version 9.5.