code: def slicesum(self, start, stop=None, axis=0):
          
          return self.slice(start, stop, axis).sum(axis)
docs: Slices the histogram along axis, then sums over that slice, returning a d-1 dimensional histogram