def serialize(self):
        """ Returns the value of the curve as yaml list """
        points = ["[{:5.10f},{:5.10f}]".format(float(a), float(b)) for a, b in self._cv_points]
        return "[" + ','.join(points) + "]"
 Returns the value of the curve as yaml list 
metadrive/render_pipeline/rpcore/util/smooth_connected_curve.py