graphics(riemann_sphere_2d(expr, coloring="b", n=800,
    at_infinity=True), grid=False)
# Expected:
## Plot object containing:
## [0]: complex domain coloring: (-1 + 1/z)/(2 + 1/z + z**(-2)) for re(z) over (-1.25, 1.25) and im(z) over (-1.25, 1.25)
## [1]: parametric cartesian line: (cos(t), sin(t)) for t over (0.0, 6.283185307179586)
