def bytes_(s, encoding='latin-1', errors='strict'):
    if isinstance(s, text_type):
        return s.encode(encoding, errors)
    return s
Plot the power spectral density across channels
dataset/ETHPy150Open saltstack/salt/salt/_compat.py/bytes_--crossover with--dataset/ETHPy150Open mne-tools/mne-python/mne/io/base.py/_BaseRaw.plot_psd