ploonetide.utils.make_segments

ploonetide.utils.make_segments(x, y)[source]

Create list of line segments from x and y coordinates, in the correct format for LineCollection: an array of the form numlines x (points per line) x 2 (x and y) array