change the axis value in gather not be to mutable and add corresponding tests, according to Paul's comments.
Attach a file by drag & drop or click to upload