One can also set to be an array of points. Tangents are then drawn at each value of the array automatically.
xs = gm.linspace(-5,5,6)
xs = gm.scalar(2.5)