<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def slicesum(self, start, stop=None, axis=0):
 """Slices the histogram along axis, then sums over that slice, returning a d-1 dimensional histogram"""

        return self.slice(start, stop, axis).sum(axis)