def keyPressEvent(self, event):  # noqa
        # Delete anchor point
        if event.key() == QtCore.Qt.Key_Delete:
            self.delete_current_point()
Internal keypress handler
dataset/ETHPy150Open tobspr/RenderPipeline/toolkit/day_time_editor/curve_widget.py/CurveWidget.keyPressEvent