Skip to content

Commit b351afb

Browse files
cbrnrCopilot
andcommitted
Fix x-axis label
Co-authored-by: Copilot <copilot@github.com>
1 parent 0c9e352 commit b351afb

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

mne/viz/_mpl_figure.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -646,6 +646,7 @@ def __init__(self, inst, figsize, ica=None, xlabel="Time (s)", **kwargs):
646646
for _spine in _ax.spines.values():
647647
_spine.set_color(self.mne.fgcolor)
648648
_ax.tick_params(colors=self.mne.fgcolor, labelcolor=self.mne.fgcolor)
649+
_ax.xaxis.label.set_color(self.mne.fgcolor)
649650
self.mne.button_help.ax.set_facecolor(_DARK_BUTTON_COLOR)
650651
self.mne.button_help.color = _DARK_BUTTON_COLOR
651652
self.mne.button_help.label.set_color(self.mne.fgcolor)

0 commit comments

Comments
 (0)