diff --git a/pypreprocess/reporting/preproc_reporter.py b/pypreprocess/reporting/preproc_reporter.py index 1c203bff..f4827de9 100644 --- a/pypreprocess/reporting/preproc_reporter.py +++ b/pypreprocess/reporting/preproc_reporter.py @@ -869,7 +869,6 @@ def _get_time_series_from_voxel(x, voxel): 'stc_plot_%s.png' % session_id) pl.figure() pl.plot(o_ts, 'o-') - pl.hold('on') pl.plot(stc_ts, 's-') pl.legend(('original BOLD', 'ST corrected BOLD')) pl.title("session %s: STC QA for voxel (%s, %s, %s)" % ( diff --git a/pypreprocess/time_diff.py b/pypreprocess/time_diff.py index c474f0db..119774cd 100644 --- a/pypreprocess/time_diff.py +++ b/pypreprocess/time_diff.py @@ -230,11 +230,9 @@ def plot_session_starts(ax): # slice plots min max mean ax = next(iter_axes) - ax.hold(True) ax.plot(np.mean(scaled_slice_diff, 0), 'k') ax.plot(np.min(scaled_slice_diff, 0), 'b') ax.plot(np.max(scaled_slice_diff, 0), 'r') - ax.hold(False) xmax_labels(ax, S + 1, 'Slice number', 'Max/mean/min \n slice variation')