Skip to content

Commit ee31dd3

Browse files
author
mohit malpote
committed
FIX: Set zorder for y-axis spine in plot_evoked (#13492)
1 parent 09905e5 commit ee31dd3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mne/viz/evoked.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -807,6 +807,8 @@ def _plot_lines(
807807
)
808808
# Put back the y limits as fill_betweenx messes them up
809809
ax.set_ylim(this_ylim)
810+
811+
ax.spines['left'].set_zorder(10)
810812

811813
lines.append(line_list)
812814

0 commit comments

Comments
 (0)