def makeCumCountsTrace(self):
trace = CountsTrace(self.monitor, "<STR_LIT>".format(self.title))<EOL>countsTrace = self.makeCountsTrace()<EOL>def accumulate(iterator):<EOL><INDENT>total = <NUM_LIT:0><EOL>for item in iterator:<EOL><INDENT>total += item<EOL>yield total<EOL><DEDENT><DEDENT>trace.data = list(accumulate(countsTrace.data))<EOL>return trace<EOL>
@return (CountsTrace) A new Trace made up of cumulative counts of this
trace's indices.