Skip to content

Commit ae68d63

Browse files
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 2d166c6 commit ae68d63

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
@@ -945,10 +945,12 @@ def confounds_correlation_plot(
945945
data=gscorr,
946946
x='index',
947947
y=reference,
948+
hue='index',
948949
ax=ax1,
949950
order=gs_descending,
950951
palette='Reds_d',
951952
saturation=0.5,
953+
legend=False,
952954
)
953955

954956
ax1.set_xlabel('Confound time series')

0 commit comments

Comments
 (0)