Scatter 'hv' shape variation

The documentation explains how to use different line shapes/interpolation in scatter plots.

Is it possible to achieve the ‘hv’ shape without the ‘v’ per se.

I am looking just to complete a forward fill horizontal line from each point until the next. Essentially not drawing a complete consecutive line, but instead a series of horizontal lines.

I’m sure this could be completed with drawing multiple traces of individual horizontal lines however i cant believe this would be the most performant way to achieve the desired result. Any help will be appreciated thank you.