### Matplotlib: plot mathematical intervals as coloured horizontal axis

I want to visualise mathematical domains, or intervals. Equivalently, I want to visualise a boolean array. What I have is some data: several recordings, over a period of, say, 100 min. Each recording satisfies a given condition only some of the time. I want to visualise the times at which each recording is “True”, that…

Details