Skip to content

Commit

Permalink
MNT: Address deprecation warning in CI
Browse files Browse the repository at this point in the history
	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.
  • Loading branch information
DimitriPapadopoulos authored and effigies committed Apr 18, 2024
1 parent fd532f9 commit 1fbcda5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions niworkflows/viz/plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -947,10 +947,12 @@ def confounds_correlation_plot(
data=gscorr,
x="index",
y=reference,
hue="index",
ax=ax1,
order=gs_descending,
palette="Reds_d",
saturation=0.5,
legend=False,
)

ax1.set_xlabel("Confound time series")
Expand Down

0 comments on commit 1fbcda5

Please sign in to comment.