def snap(self, xstep, ystep=None, padding=0.0):

        if ystep is None:
            ystep = xstep

        return Rectangle(round(self.x * xstep) / xstep + padding,
                         round(self.y * ystep) / ystep + padding,
                         round(self.w * xstep) / xstep - 2 * padding,
                         round(self.h * ystep) / ystep - 2 * padding)
info
dataset/ETHPy150Open glue-viz/glue/glue/core/layout.py/Rectangle.snap--crossover with--dataset/ETHPy150Open SergioChan/SCTornadoTCP/Server/Logger/Logger.py/BaseLogger.info