Skip to content

Commit e0512a7

Browse files
committed
FIX: Use np.bool_ instead of deprecated np.bool
1 parent 5f2dc27 commit e0512a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

niworkflows/viz/plots.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -927,7 +927,7 @@ def confounds_correlation_plot(
927927
ax0 = plt.subplot(gs[0, :10])
928928
ax1 = plt.subplot(gs[0, 11:])
929929

930-
mask = np.zeros_like(corr, dtype=np.bool)
930+
mask = np.zeros_like(corr, dtype=np.bool_)
931931
mask[np.triu_indices_from(mask)] = True
932932
sns.heatmap(corr, linewidths=0.5, cmap="coolwarm", center=0, square=True, ax=ax0)
933933
ax0.tick_params(axis="both", which="both", width=0)

0 commit comments

Comments
 (0)