Changed axis default value to be compliant with scipy