Black Lives Matter. Please consider donating to Black Girls Code today.

Advanced grid - subgrid / styling grid

I want to have grid that would have alternating width (e.g. every n-th row and column to have different size/color. The purpose is to show ECG recordings, so something like this:

I’ve tried many things, like secondary y axis and so… but couldn’t figure it out. Moreover, this should work with autorange option as well, so I hope not to have redundant plotting data. Is this possible in plotly?