Premium problem58. Step Plot

Medium Locked

y records a value that holds steady and then jumps -- a config setting, a price tier, a queue depth. Draw it as a step plot so the line is flat between changes rather than sloping from one point to the next.

Return the Axes.

Premium problem

This one's part of Premium. Unlock the full Matplotlib track plus every other premium problem on the site.

Implement solve(...)