How to draw a single channel response of fNIRs?

How to draw a single channel response of fNIRs?

based on :`
evoked_dict = {
“rest/HbO”: epochs[“rest”].average(picks=“hbo”),
“rest/HbR”: epochs[“rest”].average(picks=“hbr”)
}

Rename channels until the encoding of frequency in ch_name is fixed

for condition in evoked_dict:
evoked_dict[condition].rename_channels(lambda x: x[:-4])

color_dict = dict(HbO=“#AA3377”, HbR=“b”)
styles_dict = dict(rest=dict(linestyle=“dashed”))

combine1 = lambda data: data[0]
mne.viz.plot_compare_evokeds(
evoked_dict, combine=combine1, ci=0.95, colors=color_dict, styles=styles_dict #“mean”
)

print()
`