Would be good to make a note that a float is returned for ``axis=None`` or if the input is 1-D (I guess, didn't check).