From f7953a38878fbd30039b60aa1d8ca986bda4d2c9 Mon Sep 17 00:00:00 2001 From: Eric Larson Date: Mon, 2 Sep 2024 20:35:27 -0400 Subject: [PATCH] FIX: What --- mne_nirs/visualisation/_plot_nirs_source_detector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mne_nirs/visualisation/_plot_nirs_source_detector.py b/mne_nirs/visualisation/_plot_nirs_source_detector.py index bd983d4ab..a00f24a72 100644 --- a/mne_nirs/visualisation/_plot_nirs_source_detector.py +++ b/mne_nirs/visualisation/_plot_nirs_source_detector.py @@ -162,7 +162,7 @@ def plot_nirs_source_detector( vmax = np.max(np.abs(data)) cmap = "RdBu_r" - if isinstance(radius, (int, float)): + if isinstance(radius, int | float): radius = np.ones(len(info["chs"])) * radius # Plot requested alignment