Library to manipulate curves in Python
<p>I would like to generate a closed curve in Python, and let the user manually adjust it in a graphical interface. The curve should probably be a spline. The user should be able to use the mouse to change the shape of the curve.</p>

<p>Any suggestions of libraries that let me to this?</p>

<p><strong>Edit:</strong> I want to make a tool that lets medical doctors do a manual segmentation of some images to evaluate an automatic segmentation algorithm.</p>
