def smooth_all_traces(smoothing=<NUM_LIT:1>, trim=True, axes="<STR_LIT>"):
if axes=="<STR_LIT>": axes=_pylab.gca()<EOL>lines = axes.get_lines()<EOL>for line in lines:<EOL><INDENT>if isinstance(line, _mpl.lines.Line2D):<EOL><INDENT>smooth_line(line, smoothing, trim, draw=False)<EOL><DEDENT><DEDENT>_pylab.draw()<EOL>
This function does nearest-neighbor smoothing of the data