First time here? Check out the FAQ!
answered 2018-09-23 18:05:15 +0100
I am not sure about your question, but you can do:
sage: line2d([(0,0),(1,0)], xmin=-2, xmax=2, thickness=2)