

def _propsetpixelsize(self, value):
    newwidth = int((int(value) / self._cellwidth))
    newheight = int((int(value) / self._cellheight))
    if ((newwidth != self._width) or (newheight != self._height)):
        self.resize(newheight, newheight)

dataset/ETHPy150Open asweigart/pygcurse/pygcurse/__init__.py PygcurseSurface._propsetpixelsize/VarMisuse@69/87 `newwidth`->`newheight`