Skip to content

Commit f85a387

Browse files
committed
Fix plotting with 1 channel
1 parent 9bc7f6e commit f85a387

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

GraphPlot.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def plot_data(self, frequencies, levels, normalize: bool,
112112
:param normalize_ref: normalize reference data before applying it
113113
:return:
114114
"""
115-
if levels is not None and len(levels) > 1:
115+
if levels is not None and len(levels) > 0:
116116
# Coppy levels array
117117
levels_copy = levels.copy()
118118

0 commit comments

Comments
 (0)