Fix linspace quanitities for bin number as float.