def set_curves(self, curves):
        """ Sets the list of displayed curves """
        self._selected_point = None
        self._drag_point = None
        self._curves = curves
        self.update()
 Sets the list of displayed curves 
metadrive/render_pipeline/toolkit/day_time_editor/curve_widget.py