def translate_coords(self, dx, dy):
        d = {}
        for name, (x, y, data) in self.coords.items():
            d[name] = (x+dx, y+dy, data)
        return d
Return coords shifted by (dx, dy).
dataset/ETHPy150Open AnyMesh/anyMesh-Python/example/urwid/canvas.py/Canvas.translate_coords