Skip to content

Commit 1fbcda5

Browse files
DimitriPapadopouloseffigies
authored andcommitted
MNT: Address deprecation warning in CI
Passing `palette` without assigning `hue` is deprecated and will be removed in v0.14.0. Assign the `x` variable to `hue` and set `legend=False` for the same effect.
1 parent fd532f9 commit 1fbcda5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

niworkflows/viz/plots.py

+2
Original file line numberDiff line numberDiff line change
@@ -947,10 +947,12 @@ def confounds_correlation_plot(
947947
data=gscorr,
948948
x="index",
949949
y=reference,
950+
hue="index",
950951
ax=ax1,
951952
order=gs_descending,
952953
palette="Reds_d",
953954
saturation=0.5,
955+
legend=False,
954956
)
955957

956958
ax1.set_xlabel("Confound time series")

0 commit comments

Comments
 (0)