Skip to content

Commit

Permalink
FIX: What
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner committed Sep 3, 2024
1 parent 641c718 commit f7953a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mne_nirs/visualisation/_plot_nirs_source_detector.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f7953a3

Please sign in to comment.