import numpy as np
graphics(
    line(
        tan(x), (x, -1.5*pi, 1.5*pi),
        adaptive=True, adaptive_goal=0.001,
        detect_poles="symbolic", tx=np.rad2deg
    ),
    ylim=(-7, 7), xlabel="x [deg]", grid=False
)
# Expected:
## Plot object containing:
## [0]: cartesian line: tan(x) for x over (-4.71238898038469, 4.71238898038469)
