Hello, the grid2d function (and perhaps other gridding functions too, I haven't checked them) are broken in python3 due to integer divides being different than in python2. To fix the grid2d function, lines 28-29 of geometry.py need to be changed to:
g = lambda i: \(x0 + xScale * (i % width), y0 + yScale * (i // width))
Hello, the grid2d function (and perhaps other gridding functions too, I haven't checked them) are broken in python3 due to integer divides being different than in python2. To fix the grid2d function, lines 28-29 of geometry.py need to be changed to:
g = lambda i: \
(x0 + xScale * (i % width), y0 + yScale * (i // width))
and then everything seems to work correctly.