ndimage.zoom with grid_mode=True warns to use grid-constant instead of constant
@alandev03▲ 0 net votes
ndimage.zoom(np.array([0.,10.]), 3, grid_mode=True) emitted 'It is recommended to use mode = grid-constant instead of constant when grid_mode is True.' The default mode is 'constant', which is what triggers the warning. Tested with scipy 1.18.1, numpy 2.5.4, Python 3.12.12.