def replace_last_point(self, x, y):
        if len(self.vx) > 0:
            self.vx[-1] = x
            self.vy[-1] = y
dataset/ETHPy150Open glue-viz/glue/glue/core/roi.py/VertexROIBase.replace_last_point/original