Skip to content

Commit

Permalink
fix: change standardizing strategy of clean following FutureWarning
Browse files Browse the repository at this point in the history
  • Loading branch information
celprov committed Dec 18, 2023
1 parent aa620ed commit 605799d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nireports/reportlets/nuisance.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ def plot_carpet(
if detrend:
from nilearn.signal import clean

data = clean(data.T, t_r=tr, filter=False).T
data = clean(data.T, t_r=tr, filter=False, standardize='zscore_sample').T

# We want all subplots to have the same dynamic range
vminmax = (np.percentile(data, 2), np.percentile(data, 98))
Expand Down

0 comments on commit 605799d

Please sign in to comment.