Originally posted by @hoechenberger in #11196 (comment)
btw there's a bug in the HTML repr that is not present in the text repr:

import numpy as np
import mne
n_seconds = 1
sfreq = 100
ch_names = ['1']
data = np.ones((len(ch_names), sfreq*n_seconds))
info = mne.create_info(ch_names=ch_names, sfreq=sfreq)
raw = mne.io.RawArray(data, info)