from sympy import *
from spb import *
x = symbols("x")
graphics(
    line(cos(x), (x, -pi, pi)),
    hline(
        0.5, rendering_kw={"linestyle": ":"},
        show_in_legend=False),
    grid=False
)
# Expected:
## Plot object containing:
## [0]: cartesian line: cos(x) for x over (-pi, pi)
## [1]: horizontal line at y = 0.500000000000000
