Skip to content

Commit 39bbaac

Browse files
authored
Merge pull request #345 from MIT-LCP/annotation-marker-on-top
Show annotation markers atop signals
2 parents 169f25d + 7db6d0e commit 39bbaac

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

wfdb/plot/plot.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,8 @@ def plot_annotation(ann_samp, n_annot, ann_sym, signal, n_sig, fs, time_units,
355355
raise Exception('IndexError: try setting shift_samps=True in '
356356
'the "rdann" function?')
357357

358-
axes[ch].plot(ann_samp[ch] / downsample_factor, y, ann_style[ch])
358+
axes[ch].plot(ann_samp[ch] / downsample_factor, y, ann_style[ch],
359+
zorder=4)
359360

360361
# Plot the annotation symbols if any
361362
if ann_sym is not None and ann_sym[ch] is not None:

0 commit comments

Comments
 (0)