How can I fit a Bézier curve to a set of data? How can I fit a Bézier curve to a set of data? python python