I\'m trying to select a random sample of points across a line, using random library but all I get are some weird lines. The red line is generated from a list of
random